Skip to content

Commit 7ed6c90

Browse files
committed
Code format
1 parent b698612 commit 7ed6c90

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/providers/mssql/qgsmssqlprovider.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ bool QgsMssqlProvider::addFeatures( QgsFeatureList &flist, Flags flags )
999999
// Z and M on the end of a WKT string isn't valid for
10001000
// SQL Server so we have to remove it first.
10011001
wkt = geom.exportToWkt();
1002-
wkt.replace(QRegExp("[mzMZ]+\\s*\\("), "(");
1002+
wkt.replace( QRegExp( "[mzMZ]+\\s*\\(" ), "(" );
10031003
}
10041004
query.addBindValue( wkt );
10051005
}
@@ -1335,7 +1335,7 @@ bool QgsMssqlProvider::changeGeometryValues( const QgsGeometryMap &geometry_map
13351335
QString wkt = it->exportToWkt();
13361336
// Z and M on the end of a WKT string isn't valid for
13371337
// SQL Server so we have to remove it first.
1338-
wkt.replace(QRegExp("[mzMZ]+\\s*\\("), "(");
1338+
wkt.replace( QRegExp( "[mzMZ]+\\s*\\(" ), "(" );
13391339
query.addBindValue( wkt );
13401340
}
13411341

0 commit comments

Comments
 (0)