Skip to content

Commit

Permalink
Hopefully fix sld test
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Nov 18, 2014
1 parent d7f7b06 commit 5957b0a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/core/symbology-ng/qgssymbollayerv2utils.cpp
Expand Up @@ -2438,13 +2438,8 @@ bool QgsSymbolLayerV2Utils::createFunctionElement( QDomDocument &doc, QDomElemen

bool QgsSymbolLayerV2Utils::functionFromSldElement( QDomElement &element, QString &function )
{
QgsDebugMsg( "Entered." );
QDomElement elem;
if ( element.tagName() == "Filter" )
{
elem = element;
}
else
QDomElement elem = element;
if ( element.tagName() != "Filter" )
{
QDomNodeList filterNodes = element.elementsByTagName( "Filter" );
if ( filterNodes.size() > 0 )
Expand Down

0 comments on commit 5957b0a

Please sign in to comment.