summaryrefslogtreecommitdiff
path: root/sd/source/ui/toolpanel/TitleToolBox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/toolpanel/TitleToolBox.cxx')
-rw-r--r--sd/source/ui/toolpanel/TitleToolBox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/toolpanel/TitleToolBox.cxx b/sd/source/ui/toolpanel/TitleToolBox.cxx
index 2c2c40f56..75704cb96 100644
--- a/sd/source/ui/toolpanel/TitleToolBox.cxx
+++ b/sd/source/ui/toolpanel/TitleToolBox.cxx
@@ -77,7 +77,7 @@ void TitleToolBox::AddItem (ToolBoxId aId)
case TBID_DOCUMENT_CLOSE:
InsertItem (TBID_DOCUMENT_CLOSE,
- GetSettings().GetStyleSettings().GetMenuBarColor().IsDark()
+ GetSettings().GetStyleSettings().GetHighContrastMode()
? maImageHC : maImage, 0 );
break;