summaryrefslogtreecommitdiff
path: root/starmath/source/toolbox.cxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2009-11-23 17:39:22 +0100
committerMathias Bauer <mba@openoffice.org>2009-11-23 17:39:22 +0100
commit89ad581281e4790f616db43f3dbe6cb769b9c00f (patch)
treef2a1e0b1dc56f9affbf9f5350a50317539efd857 /starmath/source/toolbox.cxx
parent739e55aa044a5691b750e42473fafab0f5907a0f (diff)
parent70ebc074eaf9bdec8c657962290b45e8d89b3db3 (diff)
merge commit for m65
Diffstat (limited to 'starmath/source/toolbox.cxx')
-rw-r--r--starmath/source/toolbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/toolbox.cxx b/starmath/source/toolbox.cxx
index 2a912664fde4..c775f9be038b 100644
--- a/starmath/source/toolbox.cxx
+++ b/starmath/source/toolbox.cxx
@@ -222,7 +222,7 @@ const ImageList * SmToolBoxWindow::GetImageList( USHORT nResId, BOOL bHighContra
void SmToolBoxWindow::ApplyImageLists( USHORT nCategoryRID )
{
- BOOL bHighContrast = GetDisplayBackground().GetColor().IsDark() != 0;
+ BOOL bHighContrast = GetSettings().GetStyleSettings().GetHighContrastMode();
// set image list for toolbox 'catalog'
const ImageList *pImageList = GetImageList( bHighContrast ? RID_ILH_CATALOG : RID_IL_CATALOG, bHighContrast );