StaticIsEnabledBroadcasting can only be true

This commit is contained in:
Caolán McNamara
2011-11-04 21:54:43 +00:00
parent 97f2f76452
commit f017740f50
4 changed files with 3 additions and 12 deletions

View File

@@ -2157,7 +2157,7 @@ ErrCode SbMethod::Call( SbxValue* pRet, SbxVariable* pCaller )
// #100883 Own Broadcast for SbMethod
void SbMethod::Broadcast( sal_uIntPtr nHintId )
{
if( pCst && !IsSet( SBX_NO_BROADCAST ) && StaticIsEnabledBroadcasting() )
if( pCst && !IsSet( SBX_NO_BROADCAST ) )
{
// Because the method could be called from outside, test here once again
// the authorisation