diff options
author | Frank Schönheit <fs@openoffice.org> | 2001-08-07 07:39:59 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2001-08-07 07:39:59 +0000 |
commit | b4cd9ffe2588117f62915c3b67bf4f88b7fd1df1 (patch) | |
tree | 53512eb76d8f3b4093f0c37952447a635d487ecf /extensions | |
parent | 6564ff0d0ef1de1f4812b2af5d508014315a1caa (diff) |
#87690# set the connection as ActiveConnection explicitly
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/formcontroller.cxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/formcontroller.cxx b/extensions/source/propctrlr/formcontroller.cxx index 60e40b838fe1..f1d58de68c1b 100644 --- a/extensions/source/propctrlr/formcontroller.cxx +++ b/extensions/source/propctrlr/formcontroller.cxx @@ -2,9 +2,9 @@ * * $RCSfile: formcontroller.cxx,v $ * - * $Revision: 1.39 $ + * $Revision: 1.40 $ * - * last change: $Author: fs $ $Date: 2001-08-06 15:37:05 $ + * last change: $Author: fs $ $Date: 2001-08-07 08:39:59 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1023,6 +1023,10 @@ namespace pcr { xConnection = ::dbtools::connectRowset( xRowSet, m_xORB, sal_False ); } + + // set on the row set + m_xPropValueAccess->setPropertyValue( PROPERTY_ACTIVE_CONNECTION, makeAny( xConnection ) ); + // remember for later disposal // (we opened the connection, thus we own it) m_xRowsetConnection = xConnection; @@ -2550,6 +2554,9 @@ namespace pcr /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.39 2001/08/06 15:37:05 fs + * #88300# UpdateUI: don't grab the focus if we didn't have it before ... + * * Revision 1.38 2001/08/06 14:52:59 fs * #87690# don't set connections on rowsets permanently - instead dispose connections which we created ourself upon switching to a new object * |