Skip to content

Commit 2bb7319

Browse files
committed
Removes unused function
1 parent 5c359a3 commit 2bb7319

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

src/server/services/wms/qgsdxfwriter.cpp

-23
Original file line numberDiff line numberDiff line change
@@ -21,29 +21,6 @@ email : david dot marteau at 3liz dot com
2121

2222
namespace QgsWms
2323
{
24-
25-
namespace
26-
{
27-
28-
QMap<QString, QString> parseFormatOptions( const QString &optionString )
29-
{
30-
QMap<QString, QString> options;
31-
32-
QStringList optionsList = optionString.split( ';' );
33-
for ( auto optionsIt = optionsList.constBegin(); optionsIt != optionsList.constEnd(); ++optionsIt )
34-
{
35-
int equalIdx = optionsIt->indexOf( ':' );
36-
if ( equalIdx > 0 && equalIdx < ( optionsIt->length() - 1 ) )
37-
{
38-
options.insert( optionsIt->left( equalIdx ).toUpper(),
39-
optionsIt->right( optionsIt->length() - equalIdx - 1 ).toUpper() );
40-
}
41-
}
42-
return options;
43-
}
44-
45-
}
46-
4724
void writeAsDxf( QgsServerInterface *serverIface, const QgsProject *project,
4825
const QString &version, const QgsServerRequest &request,
4926
QgsServerResponse &response )

0 commit comments

Comments
 (0)