summaryrefslogtreecommitdiff
path: root/basic/source/classes
diff options
context:
space:
mode:
authorAndreas Bregas <ab@openoffice.org>2002-04-23 13:52:00 +0000
committerAndreas Bregas <ab@openoffice.org>2002-04-23 13:52:00 +0000
commitb2d58595d9375b2ddc4eff3d3725ea4c25a5c37c (patch)
tree2ee46763d1d856e33c4b7e906d33c63efb41288b /basic/source/classes
parentb4b5b96c7cb199342551dea261c578f2b6ebdb15 (diff)
#95792# firing_impl(): Disable broadcaster before retrieving return value from SbxMethdod
Diffstat (limited to 'basic/source/classes')
-rw-r--r--basic/source/classes/sbunoobj.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index 1040341056af..2c5ac14c4acf 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sbunoobj.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: ab $ $Date: 2002-04-12 11:49:40 $
+ * last change: $Author: ab $ $Date: 2002-04-23 14:52:00 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2414,7 +2414,13 @@ void BasicAllListener_Impl::firing_impl( const AllEventObject& Event, Any* pRet
{
SbxVariable* pVar = xSbxArray->Get( 0 );
if( pVar )
+ {
+ // #95792 Avoid a second call
+ USHORT nFlags = pVar->GetFlags();
+ pVar->SetFlag( SBX_NO_BROADCAST );
*pRet = sbxToUnoValue( pVar );
+ pVar->SetFlags( nFlags );
+ }
}
break;
}