summaryrefslogtreecommitdiff
path: root/sfx2/source/control/objface.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/control/objface.cxx')
-rw-r--r--sfx2/source/control/objface.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/control/objface.cxx b/sfx2/source/control/objface.cxx
index 59347e6c5428..fe5248375bb3 100644
--- a/sfx2/source/control/objface.cxx
+++ b/sfx2/source/control/objface.cxx
@@ -134,7 +134,7 @@ void SfxInterface::Register( SfxModule* pMod )
if ( pMod )
pMod->GetSlotPool()->RegisterInterface(*this);
else
- SFX_APP()->GetAppSlotPool_Impl().RegisterInterface(*this);
+ SfxGetpApp()->GetAppSlotPool_Impl().RegisterInterface(*this);
}
void SfxInterface::SetSlotMap( SfxSlot& rSlotMap, sal_uInt16 nSlotCount )
@@ -295,7 +295,7 @@ SfxInterface::~SfxInterface()
if ( pMod )
pMod->GetSlotPool()->ReleaseInterface(*this);
else
- SFX_APP()->GetAppSlotPool_Impl().ReleaseInterface(*this);
+ SfxGetpApp()->GetAppSlotPool_Impl().ReleaseInterface(*this);
}
}