summaryrefslogtreecommitdiff
path: root/svx/source/cui/labdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/cui/labdlg.cxx')
-rw-r--r--svx/source/cui/labdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/cui/labdlg.cxx b/svx/source/cui/labdlg.cxx
index bbcbe9c408..1c7cebefe9 100644
--- a/svx/source/cui/labdlg.cxx
+++ b/svx/source/cui/labdlg.cxx
@@ -574,7 +574,7 @@ void SvxCaptionTabPage::DataChanged( const DataChangedEvent& rDCEvt )
void SvxCaptionTabPage::FillValueSet()
{
- bool bHighContrast = GetDisplayBackground().GetColor().IsDark() != 0;
+ bool bHighContrast = GetSettings().GetStyleSettings().GetHighContrastMode();
Image** ppBitmaps = bHighContrast ? mpBmpCapTypesH : mpBmpCapTypes;
aCT_CAPTTYPE.SetItemImage(BMP_CAPTTYPE_1, *(ppBitmaps[0]) );