Skip to content
Permalink
Browse files
Fix label id for GetPrint in composer
  • Loading branch information
mhugent authored and mach0 committed Nov 13, 2011
1 parent a4b7b71 commit b62a777e0800a0e1c01af295b8f15e4c3b752de5
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/mapserver/qgsprojectparser.cpp
@@ -1069,8 +1069,8 @@ void QgsProjectParser::printCapabilities( QDomElement& parentElement, QDomDocume
QDomNodeList composerLabelList = currentComposerElem.elementsByTagName( "ComposerLabel" );
for ( int j = 0; j < composerLabelList.size(); ++j )
{
QDomElement clabel = composerLabelList.at( j ).toElement();
QString id = clabel.attribute( "id" );
QDomElement citem = composerLabelList.at( j ).firstChildElement( "ComposerItem" );
QString id = citem.attribute( "id" );
if ( id.isEmpty() ) //only export labels with ids for text replacement
{
continue;

0 comments on commit b62a777

Please sign in to comment.