diff options
Diffstat (limited to 'connectivity/source/inc/ado/ATables.hxx')
-rw-r--r-- | connectivity/source/inc/ado/ATables.hxx | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/connectivity/source/inc/ado/ATables.hxx b/connectivity/source/inc/ado/ATables.hxx index 37c91f7c451f..2f37340133a3 100644 --- a/connectivity/source/inc/ado/ATables.hxx +++ b/connectivity/source/inc/ado/ATables.hxx @@ -24,29 +24,29 @@ namespace connectivity::ado { - class OCatalog; - class OTables : public sdbcx::OCollection + class OCatalog; + class OTables : public sdbcx::OCollection + { + WpADOTables m_aCollection; + OCatalog* m_pCatalog; + protected: + virtual css::uno::Reference< css::beans::XPropertySet > createObject(const OUString& _rName) override; + virtual void impl_refresh() override; + virtual css::uno::Reference< css::beans::XPropertySet > createDescriptor() override; + virtual css::uno::Reference< css::beans::XPropertySet > appendObject( const OUString& _rForName, const css::uno::Reference< css::beans::XPropertySet >& descriptor ) override; + virtual void dropObject(sal_Int32 _nPos,const OUString& _sElementName) override; + public: + OTables(OCatalog* _pParent, ::osl::Mutex& _rMutex, + const ::std::vector< OUString> &_rVector, + const WpADOTables& _rCollection, + bool _bCase) : sdbcx::OCollection(*_pParent,_bCase,_rMutex,_rVector) + ,m_aCollection(_rCollection) + ,m_pCatalog(_pParent) { - WpADOTables m_aCollection; - OCatalog* m_pCatalog; - protected: - virtual css::uno::Reference< css::beans::XPropertySet > createObject(const OUString& _rName) override; - virtual void impl_refresh() override; - virtual css::uno::Reference< css::beans::XPropertySet > createDescriptor() override; - virtual css::uno::Reference< css::beans::XPropertySet > appendObject( const OUString& _rForName, const css::uno::Reference< css::beans::XPropertySet >& descriptor ) override; - virtual void dropObject(sal_Int32 _nPos,const OUString& _sElementName) override; - public: - OTables(OCatalog* _pParent, ::osl::Mutex& _rMutex, - const ::std::vector< OUString> &_rVector, - const WpADOTables& _rCollection, - bool _bCase) : sdbcx::OCollection(*_pParent,_bCase,_rMutex,_rVector) - ,m_aCollection(_rCollection) - ,m_pCatalog(_pParent) - { - OSL_ENSURE(m_aCollection.IsValid(),"Collection isn't valid"); - } - void appendNew(const OUString& _rsNewTable); - }; + OSL_ENSURE(m_aCollection.IsValid(),"Collection isn't valid"); + } + void appendNew(const OUString& _rsNewTable); + }; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |