diff options
author | Ingrid Halama <iha@openoffice.org> | 2002-12-06 14:57:40 +0000 |
---|---|---|
committer | Ingrid Halama <iha@openoffice.org> | 2002-12-06 14:57:40 +0000 |
commit | 4536de2075c4f4be83118bf9a3630d0a20effe55 (patch) | |
tree | 9d3c1e00ea61477f7f6dde6f3e56858921e3570c /sw/source/ui/uiview | |
parent | 07d609d7ad93b62366be28a921c760db1d8be3c7 (diff) |
#105318# grrrrr, use system colors only! if HC mode
Diffstat (limited to 'sw/source/ui/uiview')
-rw-r--r-- | sw/source/ui/uiview/pview.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sw/source/ui/uiview/pview.cxx b/sw/source/ui/uiview/pview.cxx index d4031e0c390b..79fcf9f50622 100644 --- a/sw/source/ui/uiview/pview.cxx +++ b/sw/source/ui/uiview/pview.cxx @@ -2,9 +2,9 @@ * * $RCSfile: pview.cxx,v $ * - * $Revision: 1.35 $ + * $Revision: 1.36 $ * - * last change: $Author: os $ $Date: 2002-12-06 14:15:24 $ + * last change: $Author: iha $ $Date: 2002-12-06 15:57:40 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -768,11 +768,12 @@ void PrtPrvWindow::Paint(const Rectangle&) aOffset.X() = (aWinSize.Width() - rSettings.aPrtSize.Width()) / 2;; - BOOL bAccessibleColors = SvtAccessibilityOptions().GetIsForPagePreviews(); + BOOL bUseSystemColors = SvtAccessibilityOptions().GetIsForPagePreviews() + && GetSettings().GetStyleSettings().GetHighContrastMode(); //der weisse Seitenhintergrund Rectangle aRect(aOffset, rSettings.aPrtSize); - if(bAccessibleColors) + if(bUseSystemColors) { SetFillColor( GetSettings().GetStyleSettings().GetWindowColor() ); SetLineColor( GetSettings().GetStyleSettings().GetWindowTextColor() ); @@ -805,7 +806,7 @@ void PrtPrvWindow::Paint(const Rectangle&) aPrvPageSize.Width() = aPrvPageSize.Height() * nSourceScale / 100; } - if(bAccessibleColors) + if(bUseSystemColors) SetFillColor( GetSettings().GetStyleSettings().GetWindowColor() ); else SetFillColor( Color( COL_GRAY ) ); |