File tree Expand file tree Collapse file tree 2 files changed +0
-32
lines changed Expand file tree Collapse file tree 2 files changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -2775,24 +2775,6 @@ namespace QgsWms
2775
2775
}
2776
2776
}
2777
2777
2778
- int QgsRenderer::height () const
2779
- {
2780
- if ( ( mWmsParameters .request ().compare ( QStringLiteral ( " GetLegendGraphic" ), Qt::CaseInsensitive ) == 0 ||
2781
- mWmsParameters .request ().compare ( QStringLiteral ( " GetLegendGraphics" ), Qt::CaseInsensitive ) == 0 ) &&
2782
- mWmsParameters .srcHeightAsInt () > 0 )
2783
- return mWmsParameters .srcHeightAsInt ();
2784
- return mWmsParameters .heightAsInt ();
2785
- }
2786
-
2787
- int QgsRenderer::width () const
2788
- {
2789
- if ( ( mWmsParameters .request ().compare ( QStringLiteral ( " GetLegendGraphic" ), Qt::CaseInsensitive ) == 0 ||
2790
- mWmsParameters .request ().compare ( QStringLiteral ( " GetLegendGraphics" ), Qt::CaseInsensitive ) == 0 ) &&
2791
- mWmsParameters .srcWidthAsInt () > 0 )
2792
- return mWmsParameters .srcWidthAsInt ();
2793
- return mWmsParameters .widthAsInt ();
2794
- }
2795
-
2796
2778
void QgsRenderer::configureLayers ( QList<QgsMapLayer *> &layers, QgsMapSettings *settings )
2797
2779
{
2798
2780
const bool useSld = !mContext .parameters ().sldBody ().isEmpty ();
Original file line number Diff line number Diff line change @@ -269,20 +269,6 @@ namespace QgsWms
269
269
270
270
void handlePrintErrors ( const QgsLayout *layout ) const ;
271
271
272
- /* *
273
- * Returns QgsWmsParameter SRCWIDTH if it's a GetLegendGraphics request and otherwise HEIGHT parameter
274
- * \returns height parameter
275
- * \since QGIS 3.4.7
276
- */
277
- int height () const ;
278
-
279
- /* *
280
- * Returns QgsWmsParameter SRCWIDTH parameter if it's a GetLegendGraphics request and otherwise WIDTH parameter
281
- * \returns width parameter
282
- * \since QGIS 3.4.7
283
- */
284
- int width () const ;
285
-
286
272
void configureLayers ( QList<QgsMapLayer *> &layers, QgsMapSettings *settings = nullptr );
287
273
288
274
void setLayerStyle ( QgsMapLayer *layer, const QString &style ) const ;
You can’t perform that action at this time.
0 commit comments