diff options
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/ado/ADatabaseMetaData.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/firebird/DatabaseMetaData.cxx | 4 | ||||
-rw-r--r-- | connectivity/source/drivers/odbc/OConnection.cxx | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/connectivity/source/drivers/ado/ADatabaseMetaData.cxx b/connectivity/source/drivers/ado/ADatabaseMetaData.cxx index 29871b110f13..8e46761e8c27 100644 --- a/connectivity/source/drivers/ado/ADatabaseMetaData.cxx +++ b/connectivity/source/drivers/ado/ADatabaseMetaData.cxx @@ -916,7 +916,7 @@ OUString SAL_CALL ODatabaseMetaData::getSQLKeywords( ) WpOLEAppendCollection<ADOFields, ADOField, WpADOField> aFields(aRecordset.GetFields()); WpADOField aField(aFields.GetItem(0)); aField.get_Value(aValue); - aRet = aRet + aValue.getString() + ","; + aRet += aValue.getString() + ","; aRecordset.MoveNext(); } aRecordset.Close(); diff --git a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx index 74015586c093..b0344b5f8b8f 100644 --- a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx +++ b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx @@ -1502,9 +1502,9 @@ uno::Reference< XResultSet > ODatabaseMetaData::lcl_getKeys(const bool& bIsImpor "ON FOREI.RDB$INDEX_NAME = FOREIGN_INDEX.RDB$INDEX_NAME " "WHERE FOREI.RDB$CONSTRAINT_TYPE = 'FOREIGN KEY' "; if (bIsImport) - sSQL = sSQL + "AND FOREI.RDB$RELATION_NAME = '"+ table +"'"; + sSQL += "AND FOREI.RDB$RELATION_NAME = '"+ table +"'"; else - sSQL = sSQL + "AND PRIM.RDB$RELATION_NAME = '"+ table +"'"; + sSQL += "AND PRIM.RDB$RELATION_NAME = '"+ table +"'"; uno::Reference< XResultSet > rs = statement->executeQuery(sSQL); uno::Reference< XRow > xRow( rs, UNO_QUERY_THROW ); diff --git a/connectivity/source/drivers/odbc/OConnection.cxx b/connectivity/source/drivers/odbc/OConnection.cxx index e879684b68fa..589697f7ff72 100644 --- a/connectivity/source/drivers/odbc/OConnection.cxx +++ b/connectivity/source/drivers/odbc/OConnection.cxx @@ -224,13 +224,13 @@ SQLRETURN OConnection::Construct(const OUString& url,const Sequence< PropertyVal { if( ! (pBegin->Value >>= aUID) ) SAL_WARN("connectivity.odbc", "Construct: unable to get property user"); - aDSN = aDSN + ";UID=" + aUID; + aDSN += ";UID=" + aUID; } else if( pBegin->Name == "password") { if( ! (pBegin->Value >>= aPWD) ) SAL_WARN("connectivity.odbc", "Construct: unable to get property password"); - aDSN = aDSN + ";PWD=" + aPWD; + aDSN += ";PWD=" + aPWD; } else if( pBegin->Name == "UseCatalog") { |