summaryrefslogtreecommitdiff
path: root/unotools/source/config/fontoptions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/config/fontoptions.cxx')
-rw-r--r--unotools/source/config/fontoptions.cxx18
1 files changed, 2 insertions, 16 deletions
diff --git a/unotools/source/config/fontoptions.cxx b/unotools/source/config/fontoptions.cxx
index 10321798746d..9172fcc1191b 100644
--- a/unotools/source/config/fontoptions.cxx
+++ b/unotools/source/config/fontoptions.cxx
@@ -80,10 +80,10 @@ class SvtFontOptions_Impl : public ConfigItem
It's not used in the moment - but it's possible for the feature!
*//*-*****************************************************************************************************/
- bool IsFontHistoryEnabled ( ) const;
+ bool IsFontHistoryEnabled ( ) const { return m_bFontHistory;}
void EnableFontHistory ( bool bState );
- bool IsFontWYSIWYGEnabled ( ) const;
+ bool IsFontWYSIWYGEnabled ( ) const { return m_bFontWYSIWYG;}
void EnableFontWYSIWYG ( bool bState );
private:
@@ -234,13 +234,6 @@ void SvtFontOptions_Impl::Commit()
// public method
-bool SvtFontOptions_Impl::IsFontHistoryEnabled() const
-{
- return m_bFontHistory;
-}
-
-// public method
-
void SvtFontOptions_Impl::EnableFontHistory( bool bState )
{
m_bFontHistory = bState;
@@ -249,13 +242,6 @@ void SvtFontOptions_Impl::EnableFontHistory( bool bState )
// public method
-bool SvtFontOptions_Impl::IsFontWYSIWYGEnabled() const
-{
- return m_bFontWYSIWYG;
-}
-
-// public method
-
void SvtFontOptions_Impl::EnableFontWYSIWYG( bool bState )
{
m_bFontWYSIWYG = bState;