diff options
author | Joseph Powers <jpowers27@cox.net> | 2010-11-05 19:24:42 -0700 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-11-06 10:09:11 -0500 |
commit | 7e31ccaa560f43e436c0562fe0b31e7d41e9ce24 (patch) | |
tree | 636229e1447ed72b68f63f0179a6d4cfadbe99f7 /sfx2/source/appl/module.cxx | |
parent | c60968d9e4b5b101c921ae8d34002e8c828ca20b (diff) |
High-Contrast Cleanup Phase #1
Diffstat (limited to 'sfx2/source/appl/module.cxx')
-rw-r--r-- | sfx2/source/appl/module.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/appl/module.cxx b/sfx2/source/appl/module.cxx index 22c4214c464c..cf8bf4bbcfd3 100644 --- a/sfx2/source/appl/module.cxx +++ b/sfx2/source/appl/module.cxx @@ -94,12 +94,12 @@ SfxModule_Impl::~SfxModule_Impl() ImageList* SfxModule_Impl::GetImageList( ResMgr* pResMgr, BOOL bBig, BOOL bHiContrast ) { - ImageList*& rpList = bBig ? ( bHiContrast ? pImgListHiBig: pImgListBig ) : + ImageList*& rpList = bBig ? ( bHiContrast ? pImgListHiBig : pImgListBig ) : ( bHiContrast ? pImgListHiSmall : pImgListSmall ); if ( !rpList ) { - ResId aResId( bBig ? ( bHiContrast ? RID_DEFAULTIMAGELIST_LCH : RID_DEFAULTIMAGELIST_LC ) : - ( bHiContrast ? RID_DEFAULTIMAGELIST_SCH : RID_DEFAULTIMAGELIST_SC ), *pResMgr ); + ResId aResId( bBig ? ( RID_DEFAULTIMAGELIST_LC ) : ( RID_DEFAULTIMAGELIST_SC ), *pResMgr ); + aResId.SetRT( RSC_IMAGELIST ); DBG_ASSERT( pResMgr->IsAvailable(aResId), "No default ImageList!" ); |