diff --git a/src/core/labeling/qgsvectorlayerlabelprovider.cpp b/src/core/labeling/qgsvectorlayerlabelprovider.cpp index 9a983b15e2ff..625c82185851 100644 --- a/src/core/labeling/qgsvectorlayerlabelprovider.cpp +++ b/src/core/labeling/qgsvectorlayerlabelprovider.cpp @@ -787,7 +787,7 @@ void QgsVectorLayerLabelProvider::drawLabelPrivate( pal::LabelPosition *label, Q const QStringList multiLineList = QgsPalLabeling::splitToLines( txt, tmpLyr.wrapChar, tmpLyr.autoWrapLength, tmpLyr.useMaxLineLengthForAutoWrap ); for ( const QString &line : multiLineList ) { - document.append( QgsTextBlock::fromPlainText( line, c ) ); + document.append( QgsTextBlock::fromPlainText( line, c ) ); } QgsScopedRenderContextReferenceScaleOverride referenceScaleOverride( context, -1.0 );