#92410# if conenction is shared stopListening in setProp
This commit is contained in:
parent
49e382bbac
commit
97e111b0f8
1 changed files with 5 additions and 2 deletions
|
@ -2,9 +2,9 @@
|
||||||
*
|
*
|
||||||
* $RCSfile: DatabaseForm.cxx,v $
|
* $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
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
|
@ -2174,6 +2174,9 @@ void ODatabaseForm::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const A
|
||||||
case PROPERTY_ID_ACTIVE_CONNECTION:
|
case PROPERTY_ID_ACTIVE_CONNECTION:
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
if ( m_bSharingConnection )
|
||||||
|
stopSharingConnection( );
|
||||||
|
|
||||||
m_bForwardingConnection = sal_True;
|
m_bForwardingConnection = sal_True;
|
||||||
m_xAggregateSet->setPropertyValue(PROPERTY_ACTIVE_CONNECTION, rValue);
|
m_xAggregateSet->setPropertyValue(PROPERTY_ACTIVE_CONNECTION, rValue);
|
||||||
m_bForwardingConnection = sal_False;
|
m_bForwardingConnection = sal_False;
|
||||||
|
|
Loading…
Reference in a new issue