diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2012-11-02 11:52:35 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2012-11-02 11:54:27 +0100 |
commit | e3b12f1762c4a7237e0c085484359dbe47ca76e0 (patch) | |
tree | 22f73fe2cba16c4f1c2a95c2d58ebeac2f785005 /connectivity/source/drivers/kab | |
parent | f2a7c93d7b970b654c41140bb6e24eb967698982 (diff) |
connectivity: port kab driver to new OColumn, too
Change-Id: I19657ee92b5d0e1e51d11dd2aa69191fdb0f4f50
Diffstat (limited to 'connectivity/source/drivers/kab')
-rw-r--r-- | connectivity/source/drivers/kab/KColumns.cxx | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/connectivity/source/drivers/kab/KColumns.cxx b/connectivity/source/drivers/kab/KColumns.cxx index a047d1afe843..5ab9598073ee 100644 --- a/connectivity/source/drivers/kab/KColumns.cxx +++ b/connectivity/source/drivers/kab/KColumns.cxx @@ -37,11 +37,12 @@ using namespace ::com::sun::star::lang; // ------------------------------------------------------------------------- sdbcx::ObjectType KabColumns::createObject(const ::rtl::OUString& _rName) { + const Any aCatalog; + const ::rtl::OUString sCatalogName; + const ::rtl::OUString sSchemaName(m_pTable->getSchema()); + const ::rtl::OUString sTableName(m_pTable->getTableName()); Reference< XResultSet > xResult = m_pTable->getConnection()->getMetaData()->getColumns( - Any(), - m_pTable->getSchema(), - m_pTable->getTableName(), - _rName); + aCatalog, sSchemaName, sTableName, _rName); sdbcx::ObjectType xRet = NULL; if (xResult.is()) @@ -64,7 +65,10 @@ sdbcx::ObjectType KabColumns::createObject(const ::rtl::OUString& _rName) sal_False, sal_False, sal_False, - sal_True); + sal_True, + sCatalogName, + sSchemaName, + sTableName); xRet = pRet; break; } |