Skip to content

Commit cf7acdf

Browse files
committedApr 5, 2017
bug 16389 fix error in sld export about stroke color
1 parent 88c3b51 commit cf7acdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/symbology-ng/qgsfillsymbollayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ void QgsSimpleFillSymbolLayer::toSld( QDomDocument &doc, QDomElement &element, c
344344
QDomElement strokeElem = doc.createElement( QStringLiteral( "se:Stroke" ) );
345345
symbolizerElem.appendChild( strokeElem );
346346
double strokeWidth = QgsSymbolLayerUtils::rescaleUom( mStrokeWidth, mStrokeWidthUnit, props );
347-
QgsSymbolLayerUtils::lineToSld( doc, strokeElem, mStrokeStyle, strokeWidth, strokeWidth, &mPenJoinStyle );
347+
QgsSymbolLayerUtils::lineToSld( doc, strokeElem, mStrokeStyle, mStrokeColor, strokeWidth, &mPenJoinStyle );
348348
}
349349

350350
// <se:Displacement>

0 commit comments

Comments
 (0)