diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-03-27 14:06:05 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-03-27 14:06:05 +0000 |
commit | 80204d8fcf35c14168a75765360eb61977653162 (patch) | |
tree | bef084bbf17b8e0d28743b03ea7213aafeae831e /svx/source/dialog/rubydialog.cxx | |
parent | new version for SRX644 (diff) | |
download | core-80204d8fcf35c14168a75765360eb61977653162.tar.gz core-80204d8fcf35c14168a75765360eb61977653162.zip |
MWS_SRX644: migrate branch mws_srx644 -> HEAD
Diffstat (limited to 'svx/source/dialog/rubydialog.cxx')
-rw-r--r-- | svx/source/dialog/rubydialog.cxx | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx index 7da1d8241d9c..dd28355baf8f 100644 --- a/svx/source/dialog/rubydialog.cxx +++ b/svx/source/dialog/rubydialog.cxx @@ -2,9 +2,9 @@ * * $RCSfile: rubydialog.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: os $ $Date: 2002-09-04 10:55:00 $ + * last change: $Author: hr $ $Date: 2003-03-27 15:01:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -119,6 +119,10 @@ #include <cppuhelper/implbase1.hxx> #endif +#ifndef INCLUDED_SVTOOLS_COLORCFG_HXX +#include <svtools/colorcfg.hxx> +#endif + using namespace com::sun::star::uno; using namespace com::sun::star::frame; using namespace com::sun::star::text; @@ -851,8 +855,11 @@ void SvxRubyDialog::AssertOneEntry() void SvxRubyDialog::UpdateColors( void ) { const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings(); + svtools::ColorConfig aColorConfig; + Font aFnt( aPreviewWin.GetFont() ); - Color aNewTextCol( rStyleSettings.GetWindowTextColor() ); + + Color aNewTextCol( aColorConfig.GetColorValue( svtools::FONTCOLOR ).nColor ); Color aNewFillCol( rStyleSettings.GetWindowColor() ); if( aNewFillCol != aFnt.GetFillColor() || aNewTextCol != aFnt.GetColor() ) |