summaryrefslogtreecommitdiffstats
path: root/svx/source/dialog/dlgctrl.cxx
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2002-06-06 14:04:47 +0000
committerChristian Lippka <cl@openoffice.org>2002-06-06 14:04:47 +0000
commit891565a9229950438aac37ccfa00b973dcf9b208 (patch)
tree706264c93b56105bd2fc2c29e1a3a4d55763e09c /svx/source/dialog/dlgctrl.cxx
parent#93728# implRemoveDirRecursive(): Close Directory before removing it (diff)
downloadcore-891565a9229950438aac37ccfa00b973dcf9b208.tar.gz
core-891565a9229950438aac37ccfa00b973dcf9b208.zip
#99732# fixed previews hc mode
Diffstat (limited to 'svx/source/dialog/dlgctrl.cxx')
-rw-r--r--svx/source/dialog/dlgctrl.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx
index bab2b384e04f..f6ca51fcb194 100644
--- a/svx/source/dialog/dlgctrl.cxx
+++ b/svx/source/dialog/dlgctrl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dlgctrl.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: cl $ $Date: 2002-06-04 12:56:44 $
+ * last change: $Author: cl $ $Date: 2002-06-06 15:04:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1944,6 +1944,8 @@ void SvxXLinePreview::DataChanged( const DataChangedEvent& rDCEvt )
InitSettings( TRUE, TRUE );
else
Control::DataChanged( rDCEvt );
+
+ SetDrawMode( GetDisplayBackground().GetColor().IsDark() ? OUTPUT_DRAWMODE_CONTRAST : OUTPUT_DRAWMODE_COLOR );
}
/*************************************************************************