summaryrefslogtreecommitdiff
path: root/connectivity/inc
diff options
context:
space:
mode:
authorPascal Junck <pjunck@openoffice.org>2004-10-22 10:31:00 +0000
committerPascal Junck <pjunck@openoffice.org>2004-10-22 10:31:00 +0000
commit605d0b3a533c0b87fabba7b828c39e07043d037f (patch)
tree9f152491c518e58891580ac2d3e2c9e92d751a01 /connectivity/inc
parentc921630a891512dd7b01cb40d0df3120de7f132a (diff)
INTEGRATION: CWS dba17 (1.24.18); FILE MERGED
2004/09/22 12:55:17 fs 1.24.18.1: #i33913# +isEmbeddedInDatabase
Diffstat (limited to 'connectivity/inc')
-rw-r--r--connectivity/inc/connectivity/dbtools.hxx18
1 files changed, 8 insertions, 10 deletions
diff --git a/connectivity/inc/connectivity/dbtools.hxx b/connectivity/inc/connectivity/dbtools.hxx
index 826f08219135..e00794b7e2cb 100644
--- a/connectivity/inc/connectivity/dbtools.hxx
+++ b/connectivity/inc/connectivity/dbtools.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dbtools.hxx,v $
*
- * $Revision: 1.24 $
+ * $Revision: 1.25 $
*
- * last change: $Author: hr $ $Date: 2004-08-02 16:49:27 $
+ * last change: $Author: pjunck $ $Date: 2004-10-22 11:31:00 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -202,15 +202,13 @@ namespace dbtools
SAL_THROW ( (::com::sun::star::sdbc::SQLException) );
- /** return the active connection which is got from the first model which occurs and has the active connection set as argument.
- @param _xChild
- The child to ask for the XModel interface, if not supported it goes the parent hierachy up.
-
- @return ::com::sun::star::uno::Reference<::com::sun::star::sdbc::XConnection>
- @see XModel::getArgs
+ /** determines whether the given component is part of a document which is an embedded database
+ document (such as a form)
*/
- ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection> getActiveConnectionFromParent(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _xChild);
+ bool isEmbeddedInDatabase(
+ const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _rxComponent,
+ ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _rxActualConnection
+ );
/** returns the columns of the named table of the given connection
*/