Skip to content
Permalink
Browse files

[layout][server] Rename some vars composer->layout

  • Loading branch information
elpaso committed Jan 10, 2018
1 parent ba5b88c commit f61a5f2f63780bb7f2e2b281c2dbed718604ec76
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/server/services/wms/qgswmsgetcapabilities.cpp
@@ -656,12 +656,12 @@ namespace QgsWms
composerTemplateElem.setAttribute( QStringLiteral( "height" ), height.length() );

//add available composer maps and their size in mm
QList<QgsLayoutItemMap *> composerMapList;
layout->layoutItems<QgsLayoutItemMap>( composerMapList );
QList<QgsLayoutItemMap *>::const_iterator cmIt = composerMapList.constBegin();
QList<QgsLayoutItemMap *> layoutMapList;
layout->layoutItems<QgsLayoutItemMap>( layoutMapList );
QList<QgsLayoutItemMap *>::const_iterator cmIt = layoutMapList.constBegin();
// Add map id
int mapId = 0;
for ( ; cmIt != composerMapList.constEnd(); ++cmIt )
for ( ; cmIt != layoutMapList.constEnd(); ++cmIt )
{
const QgsLayoutItemMap *composerMap = *cmIt;

0 comments on commit f61a5f2

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