Type: info
Title: SfxObjectShell::Call(StarBasic)Script signatures slightly
changed
Posted by: [EMAIL PROTECTED]
Affected: -
Effective from: CWS dba205a
*Summary*
--------
SfxObjectShell:
- ErrCode CallStarBasicScript( const String&, const String&,
void* _pArguments, void* );
+ ErrCode CallStarBasicScript( const String&, const String&,
const void* _pArguments, void* );
- ErrCode CallScript( const String&, const String&,
const Reference< XInterface >&, void* pArgs, void* );
+ ErrCode CallScript( const String&, const String&,
const void* pArgs, void* );
*Description*
-------------
For both SfxObjectShell::CallScript and
SfxObjectShell::CallStarBasicScript, the "void* pArguments" argument
was expected to point to a Sequence< Any >, which was only used for
reading. Thus, this argument was changed to be a "const void*", to
relieve its clients.
Furthermore, the XInterface argument to CallScript was never used, so
it has been removed, too.
The only usage of those methods has been adjusted accordingly (and
yes, this usage is for compatibility reasons only, new documents of
course use the scripting framework and thus not those methods).
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]