summaryrefslogtreecommitdiff
path: root/svx/source/form/fmscriptingenv.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/fmscriptingenv.cxx')
-rw-r--r--svx/source/form/fmscriptingenv.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/form/fmscriptingenv.cxx b/svx/source/form/fmscriptingenv.cxx
index 70a9480a615d..0d27ca92e242 100644
--- a/svx/source/form/fmscriptingenv.cxx
+++ b/svx/source/form/fmscriptingenv.cxx
@@ -112,7 +112,7 @@ namespace svxform
@return
<TRUE/> if and only if the method is declared <code>oneway</code>, i.e. can be called asynchronously
*/
- bool impl_allowAsynchronousCall_nothrow( const OUString& _rListenerType, const OUString& _rMethodName ) const;
+ static bool impl_allowAsynchronousCall_nothrow( const OUString& _rListenerType, const OUString& _rMethodName );
/** determines whether the instance is already disposed
*/
@@ -178,7 +178,7 @@ namespace svxform
}
- bool FormScriptListener::impl_allowAsynchronousCall_nothrow( const OUString& _rListenerType, const OUString& _rMethodName ) const
+ bool FormScriptListener::impl_allowAsynchronousCall_nothrow( const OUString& _rListenerType, const OUString& _rMethodName )
{
// This used to be implemented as:
// is (_rListenerType + "::" + _rMethodName) a oneway function?
@@ -947,7 +947,7 @@ namespace svxform
if ( sMacroLocation.isEmpty() )
{
// legacy format: use the app-wide Basic, if it has a respective method, otherwise fall back to the doc's Basic
- if ( SfxGetpApp()->GetBasicManager()->HasMacro( sScriptCode ) )
+ if ( SfxApplication::GetBasicManager()->HasMacro( sScriptCode ) )
sMacroLocation = "application";
else
sMacroLocation = "document";