summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/tbxctl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/tbxctl.cxx')
-rw-r--r--basctl/source/basicide/tbxctl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/tbxctl.cxx b/basctl/source/basicide/tbxctl.cxx
index b23f540f2c10..bac7e8854cf6 100644
--- a/basctl/source/basicide/tbxctl.cxx
+++ b/basctl/source/basicide/tbxctl.cxx
@@ -186,7 +186,7 @@ void TbxControls::StateChanged( USHORT nSID, SfxItemState eState,
Image aImage = GetImage( m_xFrame,
aSlotURL,
hasBigImages(),
- GetToolBox().GetDisplayBackground().GetColor().IsDark() );
+ GetToolBox().GetSettings().GetStyleSettings().GetHighContrastMode() );
ToolBox& rBox = GetToolBox();
rBox.SetItemImage(GetId(), aImage);
nLastSlot = nLastEnum;