Skip to content

Commit

Permalink
[dxf] followup 31e93ae fix server
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Feb 12, 2018
1 parent 338a73b commit 53f4464
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/services/wms/qgswmsrenderer.cpp
Expand Up @@ -767,7 +767,7 @@ namespace QgsWms
QStringList wfsLayerIds = QgsServerProjectUtils::wfsLayerIds( *mProject );

// get dxf layers
QList< QPair<QgsVectorLayer *, int > > dxfLayers;
QList< QgsDxfExport::DxfLayer > dxfLayers;
int layerIdx = -1;
Q_FOREACH ( QgsMapLayer *layer, layers )
{
Expand Down Expand Up @@ -801,7 +801,7 @@ namespace QgsWms
layerAttribute = vlayer->fields().indexFromName( layerAttributes.at( layerIdx ) );
}

dxfLayers.append( qMakePair( vlayer, layerAttribute ) );
dxfLayers.append( QgsDxfExport::DxfLayer( vlayer, layerAttribute ) );
}

// add layers to dxf
Expand Down

0 comments on commit 53f4464

Please sign in to comment.