diff --git a/python/core/auto_generated/qgslegendrenderer.sip.in b/python/core/auto_generated/qgslegendrenderer.sip.in index ca5174f40338..5717740c3a6d 100644 --- a/python/core/auto_generated/qgslegendrenderer.sip.in +++ b/python/core/auto_generated/qgslegendrenderer.sip.in @@ -55,7 +55,7 @@ Painter should be scaled beforehand so that units correspond to millimeters. void drawLegend( QgsRenderContext *rendercontext ); %Docstring -Draw the legend using a given :py:class:`QgsRenderContext`. It willoccupy the area reported in legendSize(). +Draw the legend using a given :py:class:`QgsRenderContext`. It will occupy the area reported in legendSize(). %End static void setNodeLegendStyle( QgsLayerTreeNode *node, QgsLegendStyle::Style style ); diff --git a/src/core/qgslegendrenderer.h b/src/core/qgslegendrenderer.h index 1905b296536a..eca067acf344 100644 --- a/src/core/qgslegendrenderer.h +++ b/src/core/qgslegendrenderer.h @@ -59,12 +59,12 @@ class CORE_EXPORT QgsLegendRenderer /** * Draw the legend with given painter. It will occupy the area reported in legendSize(). - * Painter should be scaled beforehand so that units correspond to millimeters. + * Painter should be scaled beforehand so that units correspond to millimeters. */ void drawLegend( QPainter *painter ); /** - * Draw the legend using a given QgsRenderContext. It willoccupy the area reported in legendSize(). + * Draw the legend using a given QgsRenderContext. It will occupy the area reported in legendSize(). */ void drawLegend( QgsRenderContext *rendercontext );