summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-12-21 10:07:41 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-12-21 11:07:22 +0000
commite3203ad42dd57d546ab8cd002b8fcbe54c9bcd11 (patch)
treee72b35b3d982194fee594667d8afe2c9f330e94f /sfx2
parente0b71d8e5ac24b3a51ec7d9e4738de7c6367cbe9 (diff)
remove newly unused SfxModule::GetImageList_Impl, etc
Change-Id: Ibb1430d2b6c7994b2425d686cf206d168530faef
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/module.cxx27
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>();