summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/dlg_DataEditor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/dialogs/dlg_DataEditor.cxx')
-rw-r--r--chart2/source/controller/dialogs/dlg_DataEditor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/dialogs/dlg_DataEditor.cxx b/chart2/source/controller/dialogs/dlg_DataEditor.cxx
index 6abbf5a8e038..f3b601453bee 100644
--- a/chart2/source/controller/dialogs/dlg_DataEditor.cxx
+++ b/chart2/source/controller/dialogs/dlg_DataEditor.cxx
@@ -358,7 +358,7 @@ bool DataEditor::ApplyChangesToModel()
// sets the correct toolbar icons depending on the current mode (e.g. high contrast)
void DataEditor::ApplyImageList()
{
- bool bIsHighContrast = ( true && GetDisplayBackground().GetColor().IsDark() );
+ bool bIsHighContrast = ( true && GetSettings().GetStyleSettings().GetHighContrastMode() );
ImageList& rImgLst = bIsHighContrast
? m_aToolboxImageListHighContrast