diff options
author | Christian Lippka <cl@openoffice.org> | 2002-06-06 14:04:47 +0000 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2002-06-06 14:04:47 +0000 |
commit | 891565a9229950438aac37ccfa00b973dcf9b208 (patch) | |
tree | 706264c93b56105bd2fc2c29e1a3a4d55763e09c /svx/source/dialog/dlgctrl.cxx | |
parent | 3c935f4350b783c231935491165bb0eeefa10b6e (diff) |
#99732# fixed previews hc mode
Diffstat (limited to 'svx/source/dialog/dlgctrl.cxx')
-rw-r--r-- | svx/source/dialog/dlgctrl.cxx | 6 |
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 ); } /************************************************************************* |