summaryrefslogtreecommitdiff
path: root/sfx2/source/control
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-03-07 14:26:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-03-07 14:26:46 +0000
commitc97a37de3c63000ff7e58469e4beff8307167ca0 (patch)
tree3288c6add85d005953690b6567eca7703b7529af /sfx2/source/control
parent260bfa5e4913c4ecb5720f3ef5163333374de744 (diff)
shouldn't need these SfxGetpApp as it will already exist
SfxGetpApp will get or create SfxApplication in normal use we start SfxApplication via SfxGlobalEvents_Impl ctor theGlobalEventBroadcaster right from the start in Desktop::Main Change-Id: I5fec2dfb79c8bc322266048603252a9aa93a883f
Diffstat (limited to 'sfx2/source/control')
-rw-r--r--sfx2/source/control/dispatch.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index b8b25ed58c66..37a1726b5abf 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -1223,7 +1223,6 @@ void SfxDispatcher::Update_Impl( bool bForce )
if ( !xImp->pFrame )
return;
- SfxGetpApp(); // -Wall is this required???
SfxDispatcher *pDisp = this;
bool bUpdate = bForce;
while ( pDisp && pDisp->xImp->pFrame )
@@ -1329,7 +1328,6 @@ void SfxDispatcher::Update_Impl( bool bForce )
void SfxDispatcher::Update_Impl_( bool bUIActive, bool bIsMDIApp, bool bIsIPOwner, SfxWorkWindow *pTaskWin )
{
- SfxGetpApp();
SfxWorkWindow *pWorkWin = xImp->pFrame->GetFrame().GetWorkWindow_Impl();
bool bIsActive = false;
SfxDispatcher *pActDispat = pWorkWin->GetBindings().GetDispatcher_Impl();