summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdopage.cxx
diff options
context:
space:
mode:
authorKai Ahrens <ka@openoffice.org>2002-03-06 10:09:04 +0000
committerKai Ahrens <ka@openoffice.org>2002-03-06 10:09:04 +0000
commit7306be07514a17bf70d456a8413a0ec43cb1f304 (patch)
treec773fef7a621cadff58f680c755160dcd312e338 /svx/source/svdraw/svdopage.cxx
parent0a9358ec028abc369c71f4251f588bfbf9e24e8b (diff)
#97052#: some colors are taken from settings
Diffstat (limited to 'svx/source/svdraw/svdopage.cxx')
-rw-r--r--svx/source/svdraw/svdopage.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/svdraw/svdopage.cxx b/svx/source/svdraw/svdopage.cxx
index 5d34dbcda0cf..19e3113cfc99 100644
--- a/svx/source/svdraw/svdopage.cxx
+++ b/svx/source/svdraw/svdopage.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svdopage.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: ka $ $Date: 2001-09-06 09:22:12 $
+ * last change: $Author: ka $ $Date: 2002-03-06 11:09:04 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -272,8 +272,8 @@ FASTBOOL SdrPageObj::Paint(ExtOutputDevice& rXOut, const SdrPaintInfoRec& rInfoR
if(bPaintArea)
{
OutputDevice& rOut=*rXOut.GetOutDev();
- rOut.SetFillColor( Color( COL_LIGHTGRAY ) );
- rOut.SetLineColor( Color(COL_GRAY ) );
+ rOut.SetFillColor( Application::GetSettings().GetStyleSettings().GetWindowColor() );
+ rOut.SetLineColor( Application::GetSettings().GetStyleSettings().GetWindowTextColor() );
rOut.DrawRect(aOutRect);
}
@@ -419,7 +419,7 @@ FASTBOOL SdrPageObj::Paint(ExtOutputDevice& rXOut, const SdrPaintInfoRec& rInfoR
{
OutputDevice& rOut=*rXOut.GetOutDev();
rOut.SetFillColor();
- rOut.SetLineColor( Color( COL_GRAY ) );
+ rOut.SetLineColor( Application::GetSettings().GetStyleSettings().GetWindowTextColor() );
rOut.DrawRect(aOutRect);
}