summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/objdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/objdlg.cxx')
-rw-r--r--basctl/source/basicide/objdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/objdlg.cxx b/basctl/source/basicide/objdlg.cxx
index 55bc15810a2b..d71f1b2929d7 100644
--- a/basctl/source/basicide/objdlg.cxx
+++ b/basctl/source/basicide/objdlg.cxx
@@ -300,7 +300,7 @@ void ObjectCatalogToolBox_Impl::DataChanged(DataChangedEvent const & rDCEvt)
void ObjectCatalogToolBox_Impl::setImages()
{
- bool bHC = GetDisplayBackground().GetColor().IsDark();
+ bool bHC = GetSettings().GetStyleSettings().GetHighContrastMode();
if (bHC != m_bHighContrast)
{
SetImageList(bHC ? m_aImagesHighContrast : m_aImagesNormal);