summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog
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/dialog
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/dialog')
-rw-r--r--sfx2/source/dialog/tabdlg.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index d0a50f048d68..cf11ada4d9b6 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -1044,7 +1044,6 @@ IMPL_LINK( SfxTabDialog, ActivatePageHdl, TabControl *, pTabCtrl, void )
sal_uInt16 nId = pTabCtrl->GetCurPageId();
DBG_ASSERT( m_pImpl->aData.size(), "no Pages registered" );
- SfxGetpApp();
// Tab Page schon da?
VclPtr<SfxTabPage> pTabPage = dynamic_cast<SfxTabPage*> (pTabCtrl->GetTabPage( nId ));
@@ -1142,7 +1141,6 @@ IMPL_LINK( SfxTabDialog, DeactivatePageHdl, TabControl *, pTabCtrl, bool )
{
sal_uInt16 nId = pTabCtrl->GetCurPageId();
- SfxGetpApp();
SfxTabPage *pPage = dynamic_cast<SfxTabPage*> (pTabCtrl->GetTabPage( nId ));
DBG_ASSERT( pPage, "no active Page" );
if (!pPage)