Skip to content

Commit 2b9b4ed

Browse files
jgrochaelpaso
andauthoredMay 4, 2020
Update src/providers/postgres/qgspostgresprovider.cpp
Co-authored-by: Alessandro Pasotti <elpaso@itopen.it>
1 parent 1d0fa9f commit 2b9b4ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/providers/postgres/qgspostgresprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4886,7 +4886,7 @@ bool QgsPostgresProviderMetadata::saveStyle( const QString &uri, const QString &
48864886
uiFileValue = QStringLiteral( ",XMLPARSE(DOCUMENT %1)" ).arg( QgsPostgresConn::quotedValue( uiFileContent ) );
48874887
}
48884888

4889-
QString wkbTypeString = QgsPostgresConn::quotedValue( QgsWkbTypes::geometryDisplayString( QgsWkbTypes::geometryType( dsUri.wkbType() ) ) );
4889+
const QString wkbTypeString = QgsPostgresConn::quotedValue( QgsWkbTypes::geometryDisplayString( QgsWkbTypes::geometryType( dsUri.wkbType() ) ) );
48904890

48914891
// Note: in the construction of the INSERT and UPDATE strings the qmlStyle and sldStyle values
48924892
// can contain user entered strings, which may themselves include %## values that would be

0 commit comments

Comments
 (0)
Please sign in to comment.