diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2005-02-17 10:12:25 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2005-02-17 10:12:25 +0000 |
commit | 8a69b307477ffd7b27315cd451cafc64f7636f78 (patch) | |
tree | 5f3f3075eb9108e0df397211bba9087c06c87cbe /extensions/source | |
parent | 98e3a65e8f37d03bc6d0973e6b56a17ee28200d1 (diff) |
INTEGRATION: CWS dba23 (1.23.30); FILE MERGED
2005/01/17 15:11:59 fs 1.23.30.1: #i40463# improved error handling when connecting to a data source
Diffstat (limited to 'extensions/source')
-rw-r--r-- | extensions/source/propctrlr/propcontroller.hxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/extensions/source/propctrlr/propcontroller.hxx b/extensions/source/propctrlr/propcontroller.hxx index 73f4955d025d..8f08267b14cc 100644 --- a/extensions/source/propctrlr/propcontroller.hxx +++ b/extensions/source/propctrlr/propcontroller.hxx @@ -2,9 +2,9 @@ * * $RCSfile: propcontroller.hxx,v $ * - * $Revision: 1.23 $ + * $Revision: 1.24 $ * - * last change: $Author: kz $ $Date: 2004-11-26 18:27:01 $ + * last change: $Author: vg $ $Date: 2005-02-17 11:12:25 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -218,8 +218,10 @@ namespace pcr ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > m_xView; + /** if we connect the rowset ourself, we own the connection, and are responsible for it + */ ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > - m_xRowsetConnection; + m_xOwnedRowsetConnection; // <properties> ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > @@ -467,9 +469,9 @@ namespace pcr void SetStringSeq(const ::com::sun::star::beans::Property& rProperty, OLineDescriptor& _rUIData); - void connectRowset(); + bool connectRowset(); void cleanupRowsetConnection(); - sal_Bool haveRowsetConnection( ) const; + bool isRowsetConnected( ) const; ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > ensureRowsetConnection(); |