Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
set uom as const
  • Loading branch information
luipir committed Sep 12, 2017
1 parent 07009f8 commit 439477a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/symbology-ng/qgsellipsesymbollayerv2.cpp
Expand Up @@ -490,7 +490,7 @@ QgsSymbolLayerV2* QgsEllipseSymbolLayerV2::createFromSld( QDomElement &element )
if ( !QgsSymbolLayerV2Utils::wellKnownMarkerFromSld( graphicElem, name, fillColor, borderColor, borderStyle, borderWidth, size ) )
return nullptr;

QString uom = element.attribute( QString( "uom" ), "" );
const QString uom = element.attribute( QString( "uom" ), "" );
size = QgsSymbolLayerV2Utils::sizeInPixelsFromSldUom( uom, size );
borderWidth = QgsSymbolLayerV2Utils::sizeInPixelsFromSldUom( uom, borderWidth );

Expand Down

0 comments on commit 439477a

Please sign in to comment.