summaryrefslogtreecommitdiff
path: root/vbahelper
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 /vbahelper
parent6d5ae48427d1c59e65f0bfc16cf075eaa4cdca17 (diff)
loplugin:staticmethods
Change-Id: Ib0c0841e48814d1a6e13bcd4575725d86ffa5e5e
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/vbahelper/vbahelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vbahelper/source/vbahelper/vbahelper.cxx b/vbahelper/source/vbahelper/vbahelper.cxx
index c1cc81c5bcce..a4759d267019 100644
--- a/vbahelper/source/vbahelper/vbahelper.cxx
+++ b/vbahelper/source/vbahelper/vbahelper.cxx
@@ -188,7 +188,7 @@ uno::Reference< frame::XModel >
getCurrentDoc( const OUString& sKey ) throw (uno::RuntimeException)
{
uno::Reference< frame::XModel > xModel;
- SbxObject* pBasic = dynamic_cast< SbxObject* > ( SfxGetpApp()->GetBasic() );
+ SbxObject* pBasic = dynamic_cast< SbxObject* > ( SfxApplication::GetBasic() );
SbxObject* basicChosen = pBasic ;
if ( basicChosen == NULL)
{