connectivity/source/drivers/hsqldb/HTable.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 45053900a4b05018359bfc135ebe0b2c6ab93f4f Author: Andrzej J.R. Hunt <[email protected]> Date: Mon Nov 4 08:37:08 2013 +0000 Fix bogus OUString constructor fixes. aeb41c9b9b7559c6d87bf92807acdc0df9e104cc (remove redundant calls to OUString constructor) introduced: error: variable 'sComposedName' is uninitialized when used within its own initialization Change-Id: I846337da43625d1cdbd33f0705499daa0c419894 diff --git a/connectivity/source/drivers/hsqldb/HTable.cxx b/connectivity/source/drivers/hsqldb/HTable.cxx index de618da..cd9e06a 100644 --- a/connectivity/source/drivers/hsqldb/HTable.cxx +++ b/connectivity/source/drivers/hsqldb/HTable.cxx @@ -385,10 +385,10 @@ void SAL_CALL OHSQLTable::rename( const OUString& newName ) throw(SQLException, OUString sCatalog,sSchema,sTable; ::dbtools::qualifiedNameComponents(getMetaData(),newName,sCatalog,sSchema,sTable,::dbtools::eInDataManipulation); - OUString sComposedName = - ::dbtools::composeTableName( getMetaData(), m_CatalogName, m_SchemaName, m_Name, sal_True, ::dbtools::eInDataManipulation ) + - sComposedName + " RENAME TO " + - ::dbtools::composeTableName( getMetaData(), sCatalog, sSchema, sTable, sal_True, ::dbtools::eInDataManipulation ); + sSql += + ::dbtools::composeTableName( getMetaData(), m_CatalogName, m_SchemaName, m_Name, sal_True, ::dbtools::eInDataManipulation ) + + " RENAME TO " + + ::dbtools::composeTableName( getMetaData(), sCatalog, sSchema, sTable, sal_True, ::dbtools::eInDataManipulation ); executeStatement(sSql); _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
