summaryrefslogtreecommitdiff
path: root/sw/source/ui/config
diff options
context:
space:
mode:
authorFrank Meies <fme@openoffice.org>2002-12-10 08:46:06 +0000
committerFrank Meies <fme@openoffice.org>2002-12-10 08:46:06 +0000
commit39e027c669fc0a91e223d7635c10adb5778586c7 (patch)
tree2903ddfb1742b6442f93b13ec29e0c33f66db62c /sw/source/ui/config
parent9ebd9069bac85a630071149228fab415309be250 (diff)
#105984# New font color option
Diffstat (limited to 'sw/source/ui/config')
-rw-r--r--sw/source/ui/config/optpage.cxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx
index 9505d177ea8a..855599f0b73e 100644
--- a/sw/source/ui/config/optpage.cxx
+++ b/sw/source/ui/config/optpage.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: optpage.cxx,v $
*
- * $Revision: 1.32 $
+ * $Revision: 1.33 $
*
- * last change: $Author: os $ $Date: 2002-09-20 12:09:52 $
+ * last change: $Author: fme $ $Date: 2002-12-10 09:42:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -184,6 +184,9 @@
#ifndef _CRSTATE_HXX
#include <crstate.hxx>
#endif
+#ifndef _VIEWOPT_HXX
+#include <viewopt.hxx>
+#endif
#ifndef _GLOBALS_HRC
#include <globals.hrc>
@@ -1484,9 +1487,9 @@ void SwMarkPreview::InitColors( void )
m_aBgCol = Color( rSettings.GetWindowColor() );
BOOL bHC = m_aBgCol.IsDark();
- m_aLineCol = bHC? rSettings.GetWindowTextColor() : Color( COL_BLACK );
+ m_aLineCol = bHC? SwViewOption::GetFontColor() : Color( COL_BLACK );
m_aShadowCol = bHC? m_aBgCol : rSettings.GetShadowColor();
- m_aTxtCol = bHC? rSettings.GetWindowTextColor() : Color( COL_GRAY );
+ m_aTxtCol = bHC? SwViewOption::GetFontColor() : Color( COL_GRAY );
m_aPrintAreaCol = m_aTxtCol;
}