diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-03-07 14:26:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-03-07 14:26:46 +0000 |
commit | c97a37de3c63000ff7e58469e4beff8307167ca0 (patch) | |
tree | 3288c6add85d005953690b6567eca7703b7529af /sfx2/source/dialog | |
parent | 260bfa5e4913c4ecb5720f3ef5163333374de744 (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.cxx | 2 |
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) |