summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-13 13:50:56 +0200
committerNoel Grandin <noel@peralex.com>2015-04-23 13:08:48 +0200
commit12ba9e3cad05a665aee2150ef831f0dbc92d7e2d (patch)
treedc50f9ee75617fa1e33a2503278501511c97afff /scripting
parent6d5ae48427d1c59e65f0bfc16cf075eaa4cdca17 (diff)
loplugin:staticmethods
Change-Id: Ib0c0841e48814d1a6e13bcd4575725d86ffa5e5e
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/basprov/basprov.cxx2
-rw-r--r--scripting/source/dlgprov/dlgevtatt.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/basprov/basprov.cxx b/scripting/source/basprov/basprov.cxx
index 0dc0722fcc17..28e506e6026e 100644
--- a/scripting/source/basprov/basprov.cxx
+++ b/scripting/source/basprov/basprov.cxx
@@ -271,7 +271,7 @@ namespace basprov
// TODO
if ( !m_pAppBasicManager )
- m_pAppBasicManager = SfxGetpApp()->GetBasicManager();
+ m_pAppBasicManager = SfxApplication::GetBasicManager();
if ( !m_xLibContainerApp.is() )
m_xLibContainerApp = Reference< script::XLibraryContainer >( SfxGetpApp()->GetBasicContainer(), UNO_QUERY );
diff --git a/scripting/source/dlgprov/dlgevtatt.cxx b/scripting/source/dlgprov/dlgevtatt.cxx
index 05567a372b06..22fc503094a4 100644
--- a/scripting/source/dlgprov/dlgevtatt.cxx
+++ b/scripting/source/dlgprov/dlgevtatt.cxx
@@ -630,7 +630,7 @@ namespace dlgprov
}
else
{
- ResMgr* pResMgr = SfxGetpApp()->GetSfxResManager();
+ ResMgr* pResMgr = SfxApplication::GetSfxResManager();
if( pResMgr )
{
OUString aRes( ResId(STR_ERRUNOEVENTBINDUNG, *pResMgr) );