Skip to content

Commit

Permalink
Fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Mar 25, 2019
1 parent ad4e22c commit 95ed64e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/server/services/wms/qgswmsparameters.cpp
Expand Up @@ -1865,24 +1865,24 @@ namespace QgsWms
{
const QMap<DxfFormatOption, QString> options = dxfFormatOptions();

QgsDxfExport::SymbologyExport symbo = QgsDxfExport::NoSymbology;
QgsDxfExport::SymbologyExport symbol = QgsDxfExport::NoSymbology;

if ( ! options.contains( DxfFormatOption::MODE ) )
{
return symbo;
return symbol;
}

const QString mode = options[ DxfFormatOption::MODE ];
if ( mode.compare( QLatin1String( "SymbolLayerSymbology" ), Qt::CaseInsensitive ) == 0 )
{
symbo = QgsDxfExport::SymbolLayerSymbology;
symbol = QgsDxfExport::SymbolLayerSymbology;
}
else if ( mode.compare( QLatin1String( "FeatureSymbology" ), Qt::CaseInsensitive ) == 0 )
{
symbo = QgsDxfExport::FeatureSymbology;
symbol = QgsDxfExport::FeatureSymbology;
}

return symbo;
return symbol;
}

QString QgsWmsParameters::dxfCodec() const
Expand Down

0 comments on commit 95ed64e

Please sign in to comment.