From d30521964fd486014a786f97033f4f251fb2f118 Mon Sep 17 00:00:00 2001 From: Ivo Hinkelmann Date: Wed, 21 Nov 2007 14:06:30 +0000 Subject: INTEGRATION: CWS dba24c (1.4.178); FILE MERGED 2007/09/13 11:42:36 fs 1.4.178.1: #i49183# remember the connection, not only its meta data --- connectivity/source/inc/hsqldb/HViews.hxx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'connectivity/source/inc/hsqldb') diff --git a/connectivity/source/inc/hsqldb/HViews.hxx b/connectivity/source/inc/hsqldb/HViews.hxx index 4ef0764fceaf..4ae837eca7d8 100644 --- a/connectivity/source/inc/hsqldb/HViews.hxx +++ b/connectivity/source/inc/hsqldb/HViews.hxx @@ -4,9 +4,9 @@ * * $RCSfile: HViews.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: obo $ $Date: 2006-07-10 14:36:54 $ + * last change: $Author: ihi $ $Date: 2007-11-21 15:06:30 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -45,10 +45,12 @@ namespace connectivity { namespace hsqldb { - class OViews : public sdbcx::OCollection + class HViews : public sdbcx::OCollection { - ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData > m_xMetaData; + ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > m_xConnection; + ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData > m_xMetaData; sal_Bool m_bInDrop; + protected: virtual sdbcx::ObjectType createObject(const ::rtl::OUString& _rName); virtual void impl_refresh() throw(::com::sun::star::uno::RuntimeException); @@ -58,11 +60,9 @@ namespace connectivity void createView( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor ); public: - OViews(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) - ,m_xMetaData(_rMetaData) - ,m_bInDrop(sal_False) - {} + HViews( + const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _rxConnection, + ::cppu::OWeakObject& _rParent, ::osl::Mutex& _rMutex, const TStringVector &_rVector ); // only the name is identical to ::cppu::OComponentHelper virtual void SAL_CALL disposing(void); -- cgit