Skip to content

Commit bad0fe4

Browse files
elpasonyalldawson
authored andcommittedApr 17, 2019
Removed leftover
1 parent 4614c3e commit bad0fe4

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed
 

‎src/providers/db2/qgsdb2provider.cpp

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1289,11 +1289,8 @@ QgsVectorLayerExporter::ExportError QgsDb2Provider::createEmptyLayer( const QStr
12891289
const QgsCoordinateReferenceSystem &srs,
12901290
bool overwrite,
12911291
QMap<int, int> *oldToNewAttrIdxMap,
1292-
QString *errorMessage,
1293-
const QMap<QString, QVariant> *options )
1292+
QString *errorMessage )
12941293
{
1295-
Q_UNUSED( options );
1296-
12971294
// populate members from the uri structure
12981295
QgsDataSourceUri dsUri( uri );
12991296

@@ -1772,12 +1769,11 @@ QGISEXTERN QgsVectorLayerExporter::ExportError createEmptyLayer(
17721769
const QgsCoordinateReferenceSystem &srs,
17731770
bool overwrite,
17741771
QMap<int, int> *oldToNewAttrIdxMap,
1775-
QString *errorMessage,
1776-
const QMap<QString, QVariant> *options )
1772+
QString *errorMessage )
17771773
{
17781774
return QgsDb2Provider::createEmptyLayer(
17791775
uri, fields, wkbType, srs, overwrite,
1780-
oldToNewAttrIdxMap, errorMessage, options
1776+
oldToNewAttrIdxMap, errorMessage
17811777
);
17821778
}
17831779

‎src/providers/db2/qgsdb2provider.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@ class QgsDb2Provider : public QgsVectorDataProvider
100100
const QgsCoordinateReferenceSystem &srs,
101101
bool overwrite,
102102
QMap<int, int> *oldToNewAttrIdxMap,
103-
QString *errorMessage = nullptr,
104-
const QMap<QString, QVariant> *coordinateTransformContext = nullptr
103+
QString *errorMessage = nullptr
105104
);
106105

107106
//! Convert a QgsField to work with DB2

0 commit comments

Comments
 (0)
Please sign in to comment.