diff options
author | Mikhail Voytenko <mav@openoffice.org> | 2009-12-17 10:55:36 +0100 |
---|---|---|
committer | Mikhail Voytenko <mav@openoffice.org> | 2009-12-17 10:55:36 +0100 |
commit | ca157ed1b344619e04c5086ac3f3584381bc6285 (patch) | |
tree | 93398cb0ec27bed672987e1d3c9b4135212cef94 /svx/source/dialog/hyprlink.cxx | |
parent | c22a3077fb8a13b30c11616a3783c79015607bd6 (diff) | |
parent | 12c7dc97e4470d70a9df30429c3dc51343682c07 (diff) |
odficonsso1: merge with DEV300_m67
Diffstat (limited to 'svx/source/dialog/hyprlink.cxx')
-rw-r--r-- | svx/source/dialog/hyprlink.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/svx/source/dialog/hyprlink.cxx b/svx/source/dialog/hyprlink.cxx index ee7c272fcc..c1be60ebe3 100644 --- a/svx/source/dialog/hyprlink.cxx +++ b/svx/source/dialog/hyprlink.cxx @@ -828,10 +828,7 @@ void SvxHyperlinkDlg::DataChanged( const DataChangedEvent& rDCEvt ) void SvxHyperlinkDlg::SetImages() { - bool bHighContrast = GetSettings().GetStyleSettings().GetHighContrastMode() != 0; - - if( bHighContrast ) - bHighContrast = GetDisplayBackground().GetColor().IsDark() != 0; + bool bHighContrast = GetSettings().GetStyleSettings().GetHighContrastMode(); SetItemImage( BTN_LINK, mpManager->GetImage( BTN_LINK, bHighContrast ) ); SetItemImage( BTN_INSERT_BOOKMARK, mpManager->GetImage( BTN_INSERT_BOOKMARK, bHighContrast ) ); |