summaryrefslogtreecommitdiff
path: root/reportdesign/source/ui/report/StartMarker.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2009-11-13 19:04:43 +0100
committerKurt Zenker <kz@openoffice.org>2009-11-13 19:04:43 +0100
commit1345cdc590fb87c92fb91e92f0d890d1de184414 (patch)
treed2bb5e6abac0bea077d73e4a4521df13fb655d55 /reportdesign/source/ui/report/StartMarker.cxx
parent9da2e3d1e84a00accd0e688a1273873f3fcfa75c (diff)
parent5efd3c588b431ea98e155f3feca91b80d03ff151 (diff)
CWS-TOOLING: integrate CWS changehc02
Notes
split repo tag: base_ooo/DEV300_m65 split repo tag: base_ooo/DEV300_m66
Diffstat (limited to 'reportdesign/source/ui/report/StartMarker.cxx')
-rw-r--r--reportdesign/source/ui/report/StartMarker.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/ui/report/StartMarker.cxx b/reportdesign/source/ui/report/StartMarker.cxx
index d87f7464a140..5a22e9cff5ed 100644
--- a/reportdesign/source/ui/report/StartMarker.cxx
+++ b/reportdesign/source/ui/report/StartMarker.cxx
@@ -194,7 +194,7 @@ void OStartMarker::MouseButtonUp( const MouseEvent& rMEvt )
void OStartMarker::changeImage()
{
Image* pImage = NULL;
- if ( GetDisplayBackground().GetColor().IsDark() )
+ if ( GetSettings().GetStyleSettings().GetHighContrastMode() )
pImage = m_bCollapsed ? s_pDefCollapsedHC : s_pDefExpandedHC;
else
pImage = m_bCollapsed ? s_pDefCollapsed : s_pDefExpanded;
@@ -212,7 +212,7 @@ void OStartMarker::initDefaultNodeImages()
}
Image* pImage = NULL;
- if ( GetDisplayBackground().GetColor().IsDark() )
+ if ( GetSettings().GetStyleSettings().GetHighContrastMode() )
{
pImage = m_bCollapsed ? s_pDefCollapsedHC : s_pDefExpandedHC;
}