summaryrefslogtreecommitdiff
path: root/starmath/source/edit.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2003-03-27 11:01:26 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2003-03-27 11:01:26 +0000
commit510facb9028c409f4c21c429c7bcdc1175d67b47 (patch)
treec0802c8d2aec7b435e16de3d3fecf5980b6f3aae /starmath/source/edit.cxx
parent7ede6c2e26e1e36d1bfa5ce98b628458767e1c2b (diff)
MWS_SRX644: migrate branch mws_srx644 -> HEAD
Diffstat (limited to 'starmath/source/edit.cxx')
-rw-r--r--starmath/source/edit.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index 62da679c83..23b759a999 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: edit.cxx,v $
*
- * $Revision: 1.24 $
+ * $Revision: 1.25 $
*
- * last change: $Author: tl $ $Date: 2002-12-12 15:39:52 $
+ * last change: $Author: hr $ $Date: 2003-03-27 11:58:18 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -257,23 +257,23 @@ SfxItemPool * SmEditWindow::GetEditEngineItemPool()
return pDoc ? &pDoc->GetEditEngineItemPool() : 0;
}
-void SmEditWindow::ApplyColorConfigValues( const svx::ColorConfig &rColorCfg )
+void SmEditWindow::ApplyColorConfigValues( const svtools::ColorConfig &rColorCfg )
{
// Note: SetBackground still done in SmEditWindow::DataChanged
#ifdef DEBUG
- ColorData nVal = rColorCfg.GetColorValue(svx::FONTCOLOR).nColor;
+ ColorData nVal = rColorCfg.GetColorValue(svtools::FONTCOLOR).nColor;
#endif
- SetTextColor( rColorCfg.GetColorValue(svx::FONTCOLOR).nColor );
+ SetTextColor( rColorCfg.GetColorValue(svtools::FONTCOLOR).nColor );
Invalidate();
}
void SmEditWindow::DataChanged( const DataChangedEvent& )
{
const StyleSettings aSettings( GetSettings().GetStyleSettings() );
-
+
ApplyColorConfigValues( SM_MOD1()->GetColorConfig() );
SetBackground( aSettings.GetWindowColor() );
-
+
// edit fields in other Applications use this font instead of
// the application font thus we use this one too
SetPointFont( aSettings.GetFieldFont() /*aSettings.GetAppFont()*/ );