From d92aa2f445662aa9ca7d81fef1e667bcae031fc6 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Fri, 27 Jun 2014 10:26:55 +0200 Subject: remove SFX_APP() macro that was a mer wrapper for SfxGetApp() Change-Id: I480a789c767dd671775c9d70d96bf71908f21f5b --- vbahelper/source/vbahelper/vbahelper.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vbahelper') diff --git a/vbahelper/source/vbahelper/vbahelper.cxx b/vbahelper/source/vbahelper/vbahelper.cxx index 6ab7dba455ac..828bd6c45f65 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* > ( SFX_APP()->GetBasic() ); + SbxObject* pBasic = dynamic_cast< SbxObject* > ( SfxGetpApp()->GetBasic() ); SbxObject* basicChosen = pBasic ; if ( basicChosen == NULL) { @@ -372,7 +372,7 @@ void PrintOutHelper( SfxViewShell* pViewShell, const uno::Any& From, const uno:: pViewFrame = pViewShell->GetViewFrame(); if ( pViewFrame ) { - SfxAllItemSet aArgs( SFX_APP()->GetPool() ); + SfxAllItemSet aArgs( SfxGetpApp()->GetPool() ); SfxBoolItem sfxCollate( SID_PRINT_COLLATE, bCollate ); aArgs.Put( sfxCollate, sfxCollate.Which() ); -- cgit