[Libreoffice-commits] core.git: connectivity/source

Stephan Bergmann sbergman at redhat.com
Wed Nov 5 01:17:18 PST 2014


 connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0b4dfdd777ba5a0fc82fa6ace38a83a278bef396
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Nov 5 10:16:49 2014 +0100

    -Werror,-Wpointer-bool-conversion
    
    Change-Id: Iae4c439de43fba471916463da8939709bbd068e5

diff --git a/connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx b/connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx
index 5eb0985..636bcc1 100644
--- a/connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx
+++ b/connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx
@@ -784,7 +784,7 @@ Reference< XResultSet > SAL_CALL MacabDatabaseMetaData::getTableTypes(  ) throw(
     {
         ODatabaseMetaDataResultSet::ORow aRow(2);
         aRow[0] = ODatabaseMetaDataResultSet::getEmptyValue();
-        aRow[1] = new ORowSetValueDecorator(aTable);
+        aRow[1] = new ORowSetValueDecorator(OUString(aTable));
         aRows.push_back(aRow);
     }
     pResult->setRows(aRows);
@@ -999,7 +999,7 @@ Reference< XResultSet > SAL_CALL MacabDatabaseMetaData::getTables(
         aRow[1] = ODatabaseMetaDataResultSet::getEmptyValue();
         aRow[2] = ODatabaseMetaDataResultSet::getEmptyValue();
         aRow[3] = new ORowSetValueDecorator(xRecords->getName());
-        aRow[4] = new ORowSetValueDecorator(aTable);
+        aRow[4] = new ORowSetValueDecorator(OUString(aTable));
         aRow[5] = ODatabaseMetaDataResultSet::getEmptyValue();
         aRows.push_back(aRow);
 


More information about the Libreoffice-commits mailing list