summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/frmdescr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/frmdescr.cxx')
-rw-r--r--sfx2/source/doc/frmdescr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/frmdescr.cxx b/sfx2/source/doc/frmdescr.cxx
index e1fc9b4721b2..6b9e23663f67 100644
--- a/sfx2/source/doc/frmdescr.cxx
+++ b/sfx2/source/doc/frmdescr.cxx
@@ -64,7 +64,7 @@ SfxFrameDescriptor::~SfxFrameDescriptor()
SfxItemSet* SfxFrameDescriptor::GetArgs()
{
if( !pImp->pArgs )
- pImp->pArgs = new SfxAllItemSet( SFX_APP()->GetPool() );
+ pImp->pArgs = new SfxAllItemSet( SfxGetpApp()->GetPool() );
return pImp->pArgs;
}
@@ -118,7 +118,7 @@ SfxFrameDescriptor* SfxFrameDescriptor::Clone( bool bWithIds ) const
if( pImp->pArgs )
{
// Currently in the clone of SfxAllItemSets there is still a bug ...
- pFrame->pImp->pArgs = new SfxAllItemSet( SFX_APP()->GetPool() );
+ pFrame->pImp->pArgs = new SfxAllItemSet( SfxGetpApp()->GetPool() );
pFrame->pImp->pArgs->Put(*pImp->pArgs);
}