summaryrefslogtreecommitdiff
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
parente0b71d8e5ac24b3a51ec7d9e4738de7c6367cbe9 (diff)
remove newly unused SfxModule::GetImageList_Impl, etc
Change-Id: Ibb1430d2b6c7994b2425d686cf206d168530faef
-rw-r--r--include/sfx2/module.hxx1
-rw-r--r--include/sfx2/sfx.hrc3
-rw-r--r--sfx2/source/appl/module.cxx27
3 files changed, 0 insertions, 31 deletions
diff --git a/include/sfx2/module.hxx b/include/sfx2/module.hxx
index 9a01f82a94f3..c40f181f8d07 100644
--- a/include/sfx2/module.hxx
+++ b/include/sfx2/module.hxx
@@ -102,7 +102,6 @@ public:
SAL_DLLPRIVATE SfxTbxCtrlFactArr_Impl* GetTbxCtrlFactories_Impl() const;
SAL_DLLPRIVATE SfxStbCtrlFactArr_Impl* GetStbCtrlFactories_Impl() const;
SAL_DLLPRIVATE SfxChildWinFactArr_Impl* GetChildWinFactories_Impl() const;
- SAL_DLLPRIVATE ImageList* GetImageList_Impl( bool bBig );
};
#endif
diff --git a/include/sfx2/sfx.hrc b/include/sfx2/sfx.hrc
index 44bf0759a41b..5e2c759dab35 100644
--- a/include/sfx2/sfx.hrc
+++ b/include/sfx2/sfx.hrc
@@ -74,9 +74,6 @@
// temporary due to compatibility
-#define RID_DEFAULTIMAGELIST_SC (RID_SFX_START+15)
-#define RID_DEFAULTIMAGELIST_LC (RID_SFX_START+17)
-
#define RID_DEFAULTABOUT (RID_SFX_START+0)
#define STR_STYLE_FILTER_AUTO (RID_SFX_START+9)
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>();