diff options
author | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-08-12 10:47:34 +0100 |
---|---|---|
committer | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-08-12 17:20:21 +0100 |
commit | 893a8a6f1183d8af2fe6be68457ecfe3f6ad8155 (patch) | |
tree | f93ed3daf4f3a761bb2dba8da361d898bb9c0f15 /connectivity | |
parent | c33f9afcadf350ea9f9a82b57f52ee08998ef653 (diff) |
Remove unneeded field. (firebird-sdbc)
This can be retrieved as needed from DatabaseMetaData.
Change-Id: I0324b7c087e6d7357437a9d6bc94340605066172
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/firebird/Table.cxx | 4 | ||||
-rw-r--r-- | connectivity/source/drivers/firebird/Table.hxx | 3 | ||||
-rw-r--r-- | connectivity/source/drivers/firebird/Tables.cxx | 3 |
3 files changed, 3 insertions, 7 deletions
diff --git a/connectivity/source/drivers/firebird/Table.cxx b/connectivity/source/drivers/firebird/Table.cxx index 0c0c753a9aaa..7624eee157c0 100644 --- a/connectivity/source/drivers/firebird/Table.cxx +++ b/connectivity/source/drivers/firebird/Table.cxx @@ -28,8 +28,7 @@ Table::Table(Tables* pTables, const uno::Reference< XConnection >& rConnection, const OUString& rName, const OUString& rType, - const OUString& rDescription, - sal_Int32 nPrivileges): + const OUString& rDescription): OTableHelper(pTables, rConnection, sal_True, @@ -40,7 +39,6 @@ Table::Table(Tables* pTables, ""), m_rMutex(rMutex) { - (void) nPrivileges; } //----- OTableHelper --------------------------------------------------------- diff --git a/connectivity/source/drivers/firebird/Table.hxx b/connectivity/source/drivers/firebird/Table.hxx index e7ed569d96ac..0ea469503f89 100644 --- a/connectivity/source/drivers/firebird/Table.hxx +++ b/connectivity/source/drivers/firebird/Table.hxx @@ -30,8 +30,7 @@ namespace connectivity const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _xConnection, const ::rtl::OUString& rName, const ::rtl::OUString& rType, - const ::rtl::OUString& rDescription, - sal_Int32 _nPrivileges); + const ::rtl::OUString& rDescription); // OTableHelper virtual ::connectivity::sdbcx::OCollection* createColumns( diff --git a/connectivity/source/drivers/firebird/Tables.cxx b/connectivity/source/drivers/firebird/Tables.cxx index af8dd9bb1b1a..a0f70cf79478 100644 --- a/connectivity/source/drivers/firebird/Tables.cxx +++ b/connectivity/source/drivers/firebird/Tables.cxx @@ -65,8 +65,7 @@ ObjectType Tables::createObject(const OUString& rName) m_xMetaData.getConnection(), rName, "", // TODO: Type - "", // TODO: Description - 0)); // TODO: privileges + "")); // TODO: Description if (xTables->next()) throw RuntimeException(); // Only one table should be returned |