summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorPeter Burow <pb@openoffice.org>2002-05-07 07:37:47 +0000
committerPeter Burow <pb@openoffice.org>2002-05-07 07:37:47 +0000
commit5d4854451ba2784fc49edd0381e5af3d590e4738 (patch)
treef712a218d5ca29a425c991c632a9f7c58f1858de /svx/source
parentaa1c95f45e7fa15c56a73f3d33faf7ef1c85cca7 (diff)
fix: #99165# preview of colors was broken by high-contrast-support
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/dialog/backgrnd.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/svx/source/dialog/backgrnd.cxx b/svx/source/dialog/backgrnd.cxx
index 3605039b0edd..4a1a809d3a18 100644
--- a/svx/source/dialog/backgrnd.cxx
+++ b/svx/source/dialog/backgrnd.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: backgrnd.cxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: pb $ $Date: 2002-04-18 04:39:13 $
+ * last change: $Author: pb $ $Date: 2002-05-07 08:37:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -263,7 +263,7 @@ void BackgroundPreviewImpl::NotifyChange( const Color& rColor )
{
if ( rColor == Color( COL_TRANSPARENT ) )
{
- SetFillColor( GetBackground().GetColor() );
+ SetFillColor( GetSettings().GetStyleSettings().GetFieldColor() );
Paint( aDrawRect );
}
SetFillColor( rColor );
@@ -336,9 +336,7 @@ void BackgroundPreviewImpl::Paint( const Rectangle& rRect )
*/
{
- const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings();
- SetFillColor( rStyleSettings.GetFieldColor() );
- SetLineColor( rStyleSettings.GetFieldTextColor() );
+ SetLineColor( GetSettings().GetStyleSettings().GetFieldTextColor() );
DrawRect( aDrawRect );
if ( bIsBmp )
{