diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-09-09 09:02:48 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-09-09 09:02:48 +0000 |
commit | b363193454b919dabcc63e1f7579c1932c258883 (patch) | |
tree | 9b80511d83b67cf1a8a6933ee9c7cfebef4ea35e /connectivity | |
parent | fb967cf3ba06b7c6b4b6004427444bb8a42ff81d (diff) |
INTEGRATION: CWS improveforms (1.5.14); FILE MERGED
2004/08/31 08:28:53 fs 1.5.14.1: #i33308# +getComponentContextConnection
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/simpledbt/staticdbtools_s.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/connectivity/source/simpledbt/staticdbtools_s.cxx b/connectivity/source/simpledbt/staticdbtools_s.cxx index e5283a8dbf9a..2cb8cb0ee8c7 100644 --- a/connectivity/source/simpledbt/staticdbtools_s.cxx +++ b/connectivity/source/simpledbt/staticdbtools_s.cxx @@ -2,9 +2,9 @@ * * $RCSfile: staticdbtools_s.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: hr $ $Date: 2004-08-02 17:17:53 $ + * last change: $Author: rt $ $Date: 2004-09-09 10:02:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -253,6 +253,12 @@ namespace connectivity return ::dbtools::isDataSourcePropertyEnabled( _xProp,_sProperty ,_bDefault ); } + // ------------------------------------------------ + Reference< XConnection > ODataAccessStaticTools::getComponentContextConnection( const Reference< XInterface >& _rxComponent ) + { + return ::dbtools::getActiveConnectionFromParent( _rxComponent ); + } + //........................................................................ } // namespace connectivity //........................................................................ |