summaryrefslogtreecommitdiff
path: root/svx/source/dialog/grfpage.cxx
diff options
context:
space:
mode:
authorgt <gt@openoffice.org>2002-07-19 12:25:34 +0000
committergt <gt@openoffice.org>2002-07-19 12:25:34 +0000
commit31230e12fdf84950f65d8d12cf3529c9a8ad0bdf (patch)
tree78f784cbec5eda320d43fdb49addd6cc86d91668 /svx/source/dialog/grfpage.cxx
parentb46979d8c6ab58e14dec5cb74fc46fb8c0aefdae (diff)
#101496# SvxGrfCropPage::SvxCropExample::Paint(): background is WindowColor from settings
Diffstat (limited to 'svx/source/dialog/grfpage.cxx')
-rw-r--r--svx/source/dialog/grfpage.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/grfpage.cxx b/svx/source/dialog/grfpage.cxx
index 7ab32cd8d2..67b1096a5b 100644
--- a/svx/source/dialog/grfpage.cxx
+++ b/svx/source/dialog/grfpage.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: grfpage.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: os $ $Date: 2001-12-12 16:14:44 $
+ * last change: $Author: gt $ $Date: 2002-07-19 13:25:34 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -858,7 +858,7 @@ void SvxGrfCropPage::SvxCropExample::Paint( const Rectangle& rRect )
{
Size aWinSize( PixelToLogic(GetOutputSizePixel() ));
SetLineColor();
- SetFillColor( Color( COL_WHITE ) );
+ SetFillColor( GetSettings().GetStyleSettings().GetWindowColor() );
SetRasterOp( ROP_OVERPAINT );
DrawRect( Rectangle( Point(), aWinSize ) );