summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/compiler.cxx
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 /sc/source/core/tool/compiler.cxx
parent6d5ae48427d1c59e65f0bfc16cf075eaa4cdca17 (diff)
loplugin:staticmethods
Change-Id: Ib0c0841e48814d1a6e13bcd4575725d86ffa5e5e
Diffstat (limited to 'sc/source/core/tool/compiler.cxx')
-rw-r--r--sc/source/core/tool/compiler.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 66982c35f6d8..19d2cfc8c92e 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -2930,14 +2930,12 @@ bool ScCompiler::IsMacro( const OUString& rName )
StarBASIC* pObj = 0;
SfxObjectShell* pDocSh = pDoc->GetDocumentShell();
- SfxApplication* pSfxApp = SfxGetpApp();
-
try
{
if( pDocSh )//XXX
pObj = pDocSh->GetBasic();
else
- pObj = pSfxApp->GetBasic();
+ pObj = SfxApplication::GetBasic();
}
catch (...)
{