summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/module.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl/module.cxx')
-rw-r--r--sfx2/source/appl/module.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/module.cxx b/sfx2/source/appl/module.cxx
index 32508b602dca..fe416c37431d 100644
--- a/sfx2/source/appl/module.cxx
+++ b/sfx2/source/appl/module.cxx
@@ -127,7 +127,7 @@ void SfxModule::Construct_Impl()
{
if( !bDummy )
{
- SfxApplication *pApp = SFX_APP();
+ SfxApplication *pApp = SfxGetpApp();
SfxModuleArr_Impl& rArr = GetModules_Impl();
SfxModule* pPtr = (SfxModule*)this;
rArr.push_back( pPtr );
@@ -151,7 +151,7 @@ SfxModule::~SfxModule()
{
if( !bDummy )
{
- if ( SFX_APP()->Get_Impl() )
+ if ( SfxGetpApp()->Get_Impl() )
{
// The module will be destroyed before the Deinitialize,
// so remove from the array