Skip to content

Commit

Permalink
Update src/providers/postgres/qgspostgresprovider.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Alessandro Pasotti <elpaso@itopen.it>
  • Loading branch information
jgrocha and elpaso committed May 4, 2020
1 parent 1d0fa9f commit 2b9b4ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Expand Up @@ -4886,7 +4886,7 @@ bool QgsPostgresProviderMetadata::saveStyle( const QString &uri, const QString &
uiFileValue = QStringLiteral( ",XMLPARSE(DOCUMENT %1)" ).arg( QgsPostgresConn::quotedValue( uiFileContent ) );
}

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

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

0 comments on commit 2b9b4ed

Please sign in to comment.