diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-12-20 21:01:47 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-12-20 21:14:29 +0000 |
commit | 778a178da5cb033d3a1c63559aaa8973aabd6383 (patch) | |
tree | a0e9b1fe123486cdcb0080fe9e2d7f0fe847ad28 /sw | |
parent | fdf57121acb3e74ee227a578e097dd6a4d5bfb08 (diff) |
drop SfxImageManager::GetImageManager use in sw
Change-Id: I02df63a37082ca8f0b9e15865dbd070a14f9eea0
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/utlui/navipi.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sw/source/uibase/utlui/navipi.cxx b/sw/source/uibase/utlui/navipi.cxx index 7ca4a7a15976..30075f1169f3 100644 --- a/sw/source/uibase/utlui/navipi.cxx +++ b/sw/source/uibase/utlui/navipi.cxx @@ -704,9 +704,6 @@ SwNavigationPI::SwNavigationPI(SfxBindings* _pBindings, StartListening(*SfxGetpApp()); if ( m_pCreateView ) StartListening(*m_pCreateView); - SfxImageManager* pImgMan = SfxImageManager::GetImageManager(*SW_MOD()); - pImgMan->RegisterToolBox(m_aContentToolBox.get(), SfxToolboxFlags::CHANGEOUTSTYLE); - pImgMan->RegisterToolBox(m_aGlobalToolBox.get(), SfxToolboxFlags::CHANGEOUTSTYLE); sal_uInt16 nNavId = m_aContentToolBox->GetItemId("navigation"); m_aContentToolBox->SetItemBits(nNavId, m_aContentToolBox->GetItemBits(nNavId) | ToolBoxItemBits::DROPDOWNONLY ); @@ -763,9 +760,6 @@ void SwNavigationPI::dispose() EndListening(*SfxGetpApp()); - SfxImageManager* pImgMan = SfxImageManager::GetImageManager(*SW_MOD()); - pImgMan->ReleaseToolBox(m_aContentToolBox.get()); - pImgMan->ReleaseToolBox(m_aGlobalToolBox.get()); m_aContentToolBox->GetItemWindow(FN_PAGENUMBER)->disposeOnce(); m_aContentToolBox->Clear(); if (m_pxObjectShell) |