summaryrefslogtreecommitdiff
path: root/svx/source/cui/align.cxx
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2009-12-07 09:34:25 +0100
committersb <sb@openoffice.org>2009-12-07 09:34:25 +0100
commit1dae2adc81df0ad4ea200ec7267f9b493ff86e17 (patch)
tree151b3c9fda2a3be5972046ae271a32fa319276ac /svx/source/cui/align.cxx
parent661efe7a78a3c741dde3204481b707d353609b55 (diff)
parentef1ec7001a06a6ba0fdbed702bcd7a6fec58eaf9 (diff)
merged in DEV300_m66
Diffstat (limited to 'svx/source/cui/align.cxx')
-rw-r--r--svx/source/cui/align.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/cui/align.cxx b/svx/source/cui/align.cxx
index e6e65efc31f2..641ee0717b96 100644
--- a/svx/source/cui/align.cxx
+++ b/svx/source/cui/align.cxx
@@ -248,7 +248,7 @@ void AlignmentTabPage::InitVsRefEgde()
// remember selection - is deleted in call to ValueSet::Clear()
USHORT nSel = maVsRefEdge.GetSelectItemId();
- ResId aResId( GetBackground().GetColor().IsDark() ? IL_LOCK_BMPS_HC : IL_LOCK_BMPS, DIALOG_MGR() );
+ ResId aResId( GetSettings().GetStyleSettings().GetHighContrastMode() ? IL_LOCK_BMPS_HC : IL_LOCK_BMPS, DIALOG_MGR() );
ImageList aImageList( aResId );
Size aItemSize( aImageList.GetImage( IID_BOTTOMLOCK ).GetSizePixel() );