summaryrefslogtreecommitdiff
path: root/sw/source/uibase/app/docsh2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/app/docsh2.cxx')
-rw-r--r--sw/source/uibase/app/docsh2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/app/docsh2.cxx b/sw/source/uibase/app/docsh2.cxx
index e68a0d951db9..ad0aed99cdc2 100644
--- a/sw/source/uibase/app/docsh2.cxx
+++ b/sw/source/uibase/app/docsh2.cxx
@@ -346,7 +346,7 @@ void SwDocShell::Execute(SfxRequest& rReq)
editeng::SortedAutoCompleteStrings aTmpLst( rACW.GetWordList() );
pAFlags->m_pAutoCompleteList = &aTmpLst;
- SfxApplication* pApp = SFX_APP();
+ SfxApplication* pApp = SfxGetpApp();
SfxRequest aAppReq(SID_AUTO_CORRECT_DLG, SFX_CALLMODE_SYNCHRON, pApp->GetPool());
SfxBoolItem aSwOptions( SID_AUTO_CORRECT_DLG, true );
aAppReq.AppendItem(aSwOptions);
@@ -1295,7 +1295,7 @@ void SwDocShell::ReloadFromHtml( const OUString& rStreamName, SwSrcView* pSrcVie
if( rHtmlOptions.IsStarBasic() && HasBasic())
{
BasicManager *pBasicMan = GetBasicManager();
- if( pBasicMan && (pBasicMan != SFX_APP()->GetBasicManager()) )
+ if( pBasicMan && (pBasicMan != SfxGetpApp()->GetBasicManager()) )
{
sal_uInt16 nLibCount = pBasicMan->GetLibCount();
while( nLibCount )