Skip to content
Permalink
Browse files

Fix label id for GetPrint in composer

  • Loading branch information
mhugent committed Oct 5, 2011
1 parent 9ec8023 commit 514d121ef1376083ff1bbaeffd22e97fe27a9e86
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/mapserver/qgsprojectparser.cpp
@@ -1193,8 +1193,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 514d121

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