remove newly unused SfxModule::GetImageList_Impl, etc

Change-Id: Ibb1430d2b6c7994b2425d686cf206d168530faef
This commit is contained in:
Caolán McNamara 2016-12-21 10:07:41 +00:00
parent e0b71d8e5a
commit e3203ad42d
3 changed files with 0 additions and 31 deletions

View File

@ -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

View File

@ -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)

View File

@ -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>();