Skip to content
Permalink
Browse files

set uom as const

  • Loading branch information
luipir committed Sep 6, 2017
1 parent 07009f8 commit 439477a3feb2f4a3b8933c09243360cc8dec5f80
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology-ng/qgsellipsesymbollayerv2.cpp
@@ -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 );

0 comments on commit 439477a

Please sign in to comment.
You can’t perform that action at this time.