Type: info
         Title: macro modes at the SfxObjectShell
     Posted by: [EMAIL PROTECTED]
      Affected: framework
Effective from: CWS basmgr03


*Summary*
--------
SfxObjectShell:
- void AdjustMacroMode( const String& )
+ bool AdjustMacroMode( const String&, bool _bSuppressUI )
- sal_Int16 GetMacroMode()

*Description*
-------------
GetMacroMode has been removed from the SfxObjectShell. All clients
called it immediately after AdjustMacroMode, to check whether macro
execution is allowed or not. As a substitute, AdjustMacroMode has got
a boolean return value, which now transports this information.

Additionally, AdjustMacroMode got an additional parameter which allows
suppressing any UI, which for instance was used to report broken
signatures and the like. This was necessary to allow implementing the
XEmbeddedScripts::AllowMacroExecution UNO API method.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to