summaryrefslogtreecommitdiff
path: root/sw/source/ui/config/optpage.cxx
diff options
context:
space:
mode:
authorThomas Benisch <tbe@openoffice.org>2009-12-07 17:05:58 +0100
committerThomas Benisch <tbe@openoffice.org>2009-12-07 17:05:58 +0100
commit04d7fd9828cdb09ff190bc65975e0c51df778487 (patch)
tree4346d98e43e49b006b6204dc308e280025515ef4 /sw/source/ui/config/optpage.cxx
parent4f0d2859107bc02e3b62fbc2acc42c1af706c7da (diff)
parent4a72548a893b94c5915a4f603ec69606c9484395 (diff)
chartshapes: merge with DEV300_m66
Diffstat (limited to 'sw/source/ui/config/optpage.cxx')
-rw-r--r--sw/source/ui/config/optpage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx
index 4b85042d0003..114a57215d10 100644
--- a/sw/source/ui/config/optpage.cxx
+++ b/sw/source/ui/config/optpage.cxx
@@ -1763,7 +1763,7 @@ void SwMarkPreview::InitColors( void )
const StyleSettings& rSettings = GetSettings().GetStyleSettings();
m_aBgCol = Color( rSettings.GetWindowColor() );
- BOOL bHC = m_aBgCol.IsDark();
+ BOOL bHC = rSettings.GetHighContrastMode();
m_aLineCol = bHC? SwViewOption::GetFontColor() : Color( COL_BLACK );
m_aShadowCol = bHC? m_aBgCol : rSettings.GetShadowColor();
m_aTxtCol = bHC? SwViewOption::GetFontColor() : Color( COL_GRAY );