diff options
author | Ocke Janssen <oj@openoffice.org> | 2001-09-25 12:12:51 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2001-09-25 12:12:51 +0000 |
commit | a0299c247a559e148bf3cc4ef4396b1b4fe6668b (patch) | |
tree | 3997d76505af40692b7f1dd6ea5d9f3b93d6b857 /connectivity/inc | |
parent | b93f967ba1a3c5f9de32beb6084352d1bcd73c79 (diff) |
#91719# implementing the XRename handling
Diffstat (limited to 'connectivity/inc')
-rw-r--r-- | connectivity/inc/connectivity/sdbcx/VCollection.hxx | 5 | ||||
-rw-r--r-- | connectivity/inc/connectivity/sdbcx/VTable.hxx | 11 |
2 files changed, 10 insertions, 6 deletions
diff --git a/connectivity/inc/connectivity/sdbcx/VCollection.hxx b/connectivity/inc/connectivity/sdbcx/VCollection.hxx index beaa698c2b1a..f44ad9a83c63 100644 --- a/connectivity/inc/connectivity/sdbcx/VCollection.hxx +++ b/connectivity/inc/connectivity/sdbcx/VCollection.hxx @@ -2,9 +2,9 @@ * * $RCSfile: VCollection.hxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: oj $ $Date: 2001-08-13 13:58:57 $ + * last change: $Author: oj $ $Date: 2001-09-25 13:12:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -197,6 +197,7 @@ namespace connectivity void reFill(const TStringVector &_rVector); sal_Bool isCaseSensitive() const { return m_aNameMap.key_comp().isCaseSensitive(); } + void renameObject(const ::rtl::OUString _sOldName,const ::rtl::OUString _sNewName); // only the name is identical to ::cppu::OComponentHelper virtual void SAL_CALL disposing(void); diff --git a/connectivity/inc/connectivity/sdbcx/VTable.hxx b/connectivity/inc/connectivity/sdbcx/VTable.hxx index ce3e00f4258c..d0a556c5838b 100644 --- a/connectivity/inc/connectivity/sdbcx/VTable.hxx +++ b/connectivity/inc/connectivity/sdbcx/VTable.hxx @@ -2,9 +2,9 @@ * * $RCSfile: VTable.hxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: oj $ $Date: 2001-04-30 10:13:37 $ + * last change: $Author: oj $ $Date: 2001-09-25 13:12:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -142,6 +142,7 @@ namespace connectivity OCollection* m_pKeys; OCollection* m_pColumns; OCollection* m_pIndexes; + OCollection* m_pTables; // must hold his own container to notify him when renaming using OTableDescriptor_BASE::rBHelper; @@ -150,8 +151,10 @@ namespace connectivity // OPropertySetHelper virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper(); public: - OTable(sal_Bool _bCase); - OTable( sal_Bool _bCase, + OTable( OCollection* _pTables, + sal_Bool _bCase); + OTable( OCollection* _pTables, + sal_Bool _bCase, const ::rtl::OUString& _Name, const ::rtl::OUString& _Type, const ::rtl::OUString& _Description = ::rtl::OUString(), |