bug 16389 fix error in sld export about stroke color

This commit is contained in:
Gabriele Monfardini 2017-04-05 12:16:21 +02:00
parent 88c3b51f7e
commit cf7acdf5f8

View File

@ -344,7 +344,7 @@ void QgsSimpleFillSymbolLayer::toSld( QDomDocument &doc, QDomElement &element, c
QDomElement strokeElem = doc.createElement( QStringLiteral( "se:Stroke" ) );
symbolizerElem.appendChild( strokeElem );
double strokeWidth = QgsSymbolLayerUtils::rescaleUom( mStrokeWidth, mStrokeWidthUnit, props );
QgsSymbolLayerUtils::lineToSld( doc, strokeElem, mStrokeStyle, strokeWidth, strokeWidth, &mPenJoinStyle );
QgsSymbolLayerUtils::lineToSld( doc, strokeElem, mStrokeStyle, mStrokeColor, strokeWidth, &mPenJoinStyle );
}
// <se:Displacement>