diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-12-21 10:07:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-12-21 11:07:22 +0000 |
commit | e3203ad42dd57d546ab8cd002b8fcbe54c9bcd11 (patch) | |
tree | e72b35b3d982194fee594667d8afe2c9f330e94f /sfx2 | |
parent | e0b71d8e5ac24b3a51ec7d9e4738de7c6367cbe9 (diff) |
remove newly unused SfxModule::GetImageList_Impl, etc
Change-Id: Ibb1430d2b6c7994b2425d686cf206d168530faef
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/module.cxx | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/sfx2/source/appl/module.cxx b/sfx2/source/appl/module.cxx index 72d447b6ec26..810c78d3176b 100644 --- a/sfx2/source/appl/module.cxx +++ b/sfx2/source/appl/module.cxx @@ -56,7 +56,6 @@ public: SfxModule_Impl(); ~SfxModule_Impl(); - ImageList* GetImageList( ResMgr* pResMgr, bool bBig ); }; SfxModule_Impl::SfxModule_Impl() @@ -74,27 +73,6 @@ SfxModule_Impl::~SfxModule_Impl() delete pImgListBig; } -ImageList* SfxModule_Impl::GetImageList( ResMgr* pResMgr, bool bBig ) -{ - ImageList*& rpList = bBig ? pImgListBig : pImgListSmall; - if ( !rpList ) - { - ResId aResId( bBig ? ( RID_DEFAULTIMAGELIST_LC ) : ( RID_DEFAULTIMAGELIST_SC ), *pResMgr ); - - aResId.SetRT( RSC_IMAGELIST ); - - DBG_ASSERT( pResMgr->IsAvailable(aResId), "No default ImageList!" ); - - if ( pResMgr->IsAvailable(aResId) ) - rpList = new ImageList( aResId ); - else - rpList = new ImageList(); - } - - return rpList; -} - - SFX_IMPL_SUPERCLASS_INTERFACE(SfxModule, SfxShell) ResMgr* SfxModule::GetResMgr() @@ -221,11 +199,6 @@ SfxChildWinFactArr_Impl* SfxModule::GetChildWinFactories_Impl() const return pImpl->pFactArr; } -ImageList* SfxModule::GetImageList_Impl( bool bBig ) -{ - return pImpl->GetImageList( pResMgr, bBig ); -} - VclPtr<SfxTabPage> SfxModule::CreateTabPage( sal_uInt16, vcl::Window*, const SfxItemSet& ) { return VclPtr<SfxTabPage>(); |