Skip to content

Commit

Permalink
Removes unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Mar 25, 2019
1 parent 5c359a3 commit 2bb7319
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/server/services/wms/qgsdxfwriter.cpp
Expand Up @@ -21,29 +21,6 @@ email : david dot marteau at 3liz dot com

namespace QgsWms
{

namespace
{

QMap<QString, QString> parseFormatOptions( const QString &optionString )
{
QMap<QString, QString> options;

QStringList optionsList = optionString.split( ';' );
for ( auto optionsIt = optionsList.constBegin(); optionsIt != optionsList.constEnd(); ++optionsIt )
{
int equalIdx = optionsIt->indexOf( ':' );
if ( equalIdx > 0 && equalIdx < ( optionsIt->length() - 1 ) )
{
options.insert( optionsIt->left( equalIdx ).toUpper(),
optionsIt->right( optionsIt->length() - equalIdx - 1 ).toUpper() );
}
}
return options;
}

}

void writeAsDxf( QgsServerInterface *serverIface, const QgsProject *project,
const QString &version, const QgsServerRequest &request,
QgsServerResponse &response )
Expand Down

0 comments on commit 2bb7319

Please sign in to comment.