diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-16 14:45:55 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-16 15:58:34 +0000 |
commit | 7bdccd0cb6890a92b778754a3e77e6f5b49820f6 (patch) | |
tree | 6746acff597e117aaa7eff738f05d6adf374f5ca /sw/source/ui/utlui/glbltree.cxx | |
parent | 0b72a3de72cde14715812e8af478e5cf1b1fa4ce (diff) |
fix this up
Diffstat (limited to 'sw/source/ui/utlui/glbltree.cxx')
-rw-r--r-- | sw/source/ui/utlui/glbltree.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sw/source/ui/utlui/glbltree.cxx b/sw/source/ui/utlui/glbltree.cxx index d65bf0b0d227..47fc8848461e 100644 --- a/sw/source/ui/utlui/glbltree.cxx +++ b/sw/source/ui/utlui/glbltree.cxx @@ -643,8 +643,7 @@ void SwGlobalTree::Display(BOOL bOnlyUpdateUserData) { if(!bIsImageListInitialized) { - USHORT nResId = GetSettings().GetStyleSettings().GetHighContrastMode() ? IMG_NAVI_ENTRYBMPH : IMG_NAVI_ENTRYBMP; - aEntryImages = ImageList(SW_RES(nResId)); + aEntryImages = ImageList(SW_RES(IMG_NAVI_ENTRYBMP)); bIsImageListInitialized = TRUE; } USHORT nCount = pSwGlblDocContents->Count(); @@ -1274,8 +1273,7 @@ void SwGlobalTree::DataChanged( const DataChangedEvent& rDCEvt ) if ( (rDCEvt.GetType() == DATACHANGED_SETTINGS) && (rDCEvt.GetFlags() & SETTINGS_STYLE) ) { - USHORT nResId = GetSettings().GetStyleSettings().GetHighContrastMode() ? IMG_NAVI_ENTRYBMPH : IMG_NAVI_ENTRYBMP; - aEntryImages = ImageList(SW_RES(nResId)); + aEntryImages = ImageList(SW_RES(IMG_NAVI_ENTRYBMP)); Update(sal_True); } SvTreeListBox::DataChanged( rDCEvt ); |