Showing with 2 additions and 2 deletions.
  1. +1 −1 src/core/qgsgml.cpp
  2. +1 −1 src/core/qgsvectorfilewriter.cpp
2 changes: 1 addition & 1 deletion src/core/qgsgml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ QgsGml::QgsGml(
, mTypeName( typeName )
, mGeometryAttribute( geometryAttribute )
, mFinished( false )
, mCurrentFeature( 0 )
, mFeatureCount( 0 )
, mCurrentWKBSize( 0 )
, mCurrentFeature( 0 )
{
mThematicAttributes.clear();
for ( int i = 0; i < fields.size(); i++ )
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsvectorfilewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ QgsVectorFileWriter::QgsVectorFileWriter(

QString name( attrField.name() );

if ( driverName == "SQLite" && name.compare( "ogc_fid", Qt::CaseInsensitive ) == 0 )
if ( ogrDriverName == "SQLite" && name.compare( "ogc_fid", Qt::CaseInsensitive ) == 0 )
{
int i;
for ( i = 0; i < 10; i++ )
Expand Down