Skip to content
Permalink
Browse files

Removed leftover

  • Loading branch information
elpaso authored and nyalldawson committed Apr 17, 2019
1 parent 4614c3e commit bad0fe42d8e9ccf04ae57252918c680277eae36f
Showing with 4 additions and 9 deletions.
  1. +3 −7 src/providers/db2/qgsdb2provider.cpp
  2. +1 −2 src/providers/db2/qgsdb2provider.h
@@ -1289,11 +1289,8 @@ QgsVectorLayerExporter::ExportError QgsDb2Provider::createEmptyLayer( const QStr
const QgsCoordinateReferenceSystem &srs,
bool overwrite,
QMap<int, int> *oldToNewAttrIdxMap,
QString *errorMessage,
const QMap<QString, QVariant> *options )
QString *errorMessage )
{
Q_UNUSED( options );

// populate members from the uri structure
QgsDataSourceUri dsUri( uri );

@@ -1772,12 +1769,11 @@ QGISEXTERN QgsVectorLayerExporter::ExportError createEmptyLayer(
const QgsCoordinateReferenceSystem &srs,
bool overwrite,
QMap<int, int> *oldToNewAttrIdxMap,
QString *errorMessage,
const QMap<QString, QVariant> *options )
QString *errorMessage )
{
return QgsDb2Provider::createEmptyLayer(
uri, fields, wkbType, srs, overwrite,
oldToNewAttrIdxMap, errorMessage, options
oldToNewAttrIdxMap, errorMessage
);
}

@@ -100,8 +100,7 @@ class QgsDb2Provider : public QgsVectorDataProvider
const QgsCoordinateReferenceSystem &srs,
bool overwrite,
QMap<int, int> *oldToNewAttrIdxMap,
QString *errorMessage = nullptr,
const QMap<QString, QVariant> *coordinateTransformContext = nullptr
QString *errorMessage = nullptr
);

//! Convert a QgsField to work with DB2

0 comments on commit bad0fe4

Please sign in to comment.
You can’t perform that action at this time.