summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-09-28 05:58:43 +0000
committerOcke Janssen <oj@openoffice.org>2001-09-28 05:58:43 +0000
commit97e111b0f82bb008147a033161e37b513ae1123f (patch)
tree675f04035d8641b1ffe5d869f0da4d15d59464bd
parent49e382bbac18a088622af1dd0a9f8ab331a656d9 (diff)
#92410# if conenction is shared stopListening in setProp
-rw-r--r--forms/source/component/DatabaseForm.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx
index 9385211bb6ff..db9542907d2f 100644
--- a/forms/source/component/DatabaseForm.cxx
+++ b/forms/source/component/DatabaseForm.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: DatabaseForm.cxx,v $
*
- * $Revision: 1.37 $
+ * $Revision: 1.38 $
*
- * last change: $Author: vg $ $Date: 2001-09-12 12:20:05 $
+ * last change: $Author: oj $ $Date: 2001-09-28 06:58:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2174,6 +2174,9 @@ void ODatabaseForm::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const A
case PROPERTY_ID_ACTIVE_CONNECTION:
try
{
+ if ( m_bSharingConnection )
+ stopSharingConnection( );
+
m_bForwardingConnection = sal_True;
m_xAggregateSet->setPropertyValue(PROPERTY_ACTIVE_CONNECTION, rValue);
m_bForwardingConnection = sal_False;