diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2005-03-10 14:41:06 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2005-03-10 14:41:06 +0000 |
commit | e05b8f53c7991ee48b33a5bc207d4afd31ed0f00 (patch) | |
tree | 4ce099f05af09c8173202c5f587de46820a81228 /connectivity/source/inc/mysql | |
parent | d27e273fd30ccf5e0fb2102145a59672c911158a (diff) |
INTEGRATION: CWS dba24 (1.1.240); FILE MERGED
2005/02/09 08:07:57 oj 1.1.240.1: #i26950# remove the need for XNamed
Diffstat (limited to 'connectivity/source/inc/mysql')
-rw-r--r-- | connectivity/source/inc/mysql/YTables.hxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/connectivity/source/inc/mysql/YTables.hxx b/connectivity/source/inc/mysql/YTables.hxx index 6191377842b4..352a06dd5be0 100644 --- a/connectivity/source/inc/mysql/YTables.hxx +++ b/connectivity/source/inc/mysql/YTables.hxx @@ -2,9 +2,9 @@ * * $RCSfile: YTables.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: oj $ $Date: 2002-11-11 08:56:13 $ + * last change: $Author: vg $ $Date: 2005-03-10 15:41:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -76,15 +76,14 @@ namespace connectivity ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData > m_xMetaData; protected: - virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNamed > createObject(const ::rtl::OUString& _rName); + virtual sdbcx::ObjectType createObject(const ::rtl::OUString& _rName); virtual void impl_refresh() throw(::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > createEmptyObject(); - // return a object which is the copy of the descriptor - virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNamed > cloneObject(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _xDescriptor); virtual void appendObject( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor ); virtual void dropObject(sal_Int32 _nPos,const ::rtl::OUString _sElementName); void createTable( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor ); + virtual ::rtl::OUString getNameForObject(const sdbcx::ObjectType& _xObject); public: OTables(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData >& _rMetaData,::cppu::OWeakObject& _rParent, ::osl::Mutex& _rMutex, const TStringVector &_rVector) : sdbcx::OCollection(_rParent,sal_True,_rMutex,_rVector) |