diff options
author | Niklas Nebel <nn@openoffice.org> | 2002-05-03 10:58:48 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2002-05-03 10:58:48 +0000 |
commit | 35edaa42624a308f813308d34800975b1cd208e1 (patch) | |
tree | 3b80fd994e93c0792ce14a8976f0971da5e0be41 /sc/source/ui/view/output.cxx | |
parent | 1e8d6e45bf8ff5dc1b8af94981e0f0a2535a7809 (diff) |
#98820# use colors from configuration
Diffstat (limited to 'sc/source/ui/view/output.cxx')
-rw-r--r-- | sc/source/ui/view/output.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx index 95b2007cd290..e7ccb4b66767 100644 --- a/sc/source/ui/view/output.cxx +++ b/sc/source/ui/view/output.cxx @@ -2,9 +2,9 @@ * * $RCSfile: output.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: nn $ $Date: 2002-04-29 18:43:37 $ + * last change: $Author: nn $ $Date: 2002-05-03 11:58:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -790,8 +790,8 @@ void ScOutputData::DrawBackground() { FindRotated(); //! von aussen ? - const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings(); - Color aBgColor = rStyleSettings.GetWindowColor(); + // used only if bSolidBackground is set (only for ScGridWindow): + Color aBgColor( SC_MOD()->GetColorConfig().GetColorValue(svx::DOCCOLOR).nColor ); Rectangle aRect; Size aOnePixel = pDev->PixelToLogic(Size(1,1)); @@ -1115,9 +1115,8 @@ void ScOutputData::DrawClear() long nOneX = aOnePixel.Width(); long nOneY = aOnePixel.Height(); - const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings(); - Color aBgColor = rStyleSettings.GetWindowColor(); - + // (called only for ScGridWindow) + Color aBgColor( SC_MOD()->GetColorConfig().GetColorValue(svx::DOCCOLOR).nColor ); if (bMetaFile) nOneX = nOneY = 0; |