diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-11-05 10:16:49 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-11-05 10:16:49 +0100 |
commit | 0b4dfdd777ba5a0fc82fa6ace38a83a278bef396 (patch) | |
tree | 56000430e1395d103d377be37b670009ee5bc427 | |
parent | 428f1a2755dd1753cebfc434306773a0aa1ed6d8 (diff) |
-Werror,-Wpointer-bool-conversion
Change-Id: Iae4c439de43fba471916463da8939709bbd068e5
-rw-r--r-- | connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx b/connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx index 5eb0985fe2b0..636bcc18c523 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); |