diff options
Diffstat (limited to 'unotools/source/config/fontoptions.cxx')
-rw-r--r-- | unotools/source/config/fontoptions.cxx | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/unotools/source/config/fontoptions.cxx b/unotools/source/config/fontoptions.cxx index 96f5fe6ca25c..d4b52609697f 100644 --- a/unotools/source/config/fontoptions.cxx +++ b/unotools/source/config/fontoptions.cxx @@ -38,19 +38,11 @@ #include <rtl/instance.hxx> #include "itemholder1.hxx" -//_________________________________________________________________________________________________________________ -// namespaces -//_________________________________________________________________________________________________________________ - using namespace ::utl ; using namespace ::rtl ; using namespace ::osl ; using namespace ::com::sun::star::uno ; -//_________________________________________________________________________________________________________________ -// const -//_________________________________________________________________________________________________________________ - #define ROOTNODE_FONT OUString(RTL_CONSTASCII_USTRINGPARAM("Office.Common/Font" )) #define PROPERTYNAME_REPLACEMENTTABLE OUString(RTL_CONSTASCII_USTRINGPARAM("Substitution/Replacement" )) @@ -63,29 +55,13 @@ using namespace ::com::sun::star::uno ; #define PROPERTYCOUNT 3 -//_________________________________________________________________________________________________________________ -// private declarations! -//_________________________________________________________________________________________________________________ - class SvtFontOptions_Impl : public ConfigItem { - //------------------------------------------------------------------------------------------------------------- - // public methods - //------------------------------------------------------------------------------------------------------------- - public: - //--------------------------------------------------------------------------------------------------------- - // constructor / destructor - //--------------------------------------------------------------------------------------------------------- - SvtFontOptions_Impl(); ~SvtFontOptions_Impl(); - //--------------------------------------------------------------------------------------------------------- - // overloaded methods of baseclass - //--------------------------------------------------------------------------------------------------------- - /*-****************************************************************************************************//** @short called for notify of configmanager @descr These method is called from the ConfigManager before application ends or from the @@ -117,10 +93,6 @@ class SvtFontOptions_Impl : public ConfigItem virtual void Commit(); - //--------------------------------------------------------------------------------------------------------- - // public interface - //--------------------------------------------------------------------------------------------------------- - /*-****************************************************************************************************//** @short access method to get internal values @descr These method give us a chance to regulate acces to ouer internal values. @@ -134,19 +106,12 @@ class SvtFontOptions_Impl : public ConfigItem @onerror - *//*-*****************************************************************************************************/ - sal_Bool IsReplacementTableEnabled ( ) const ; - void EnableReplacementTable ( sal_Bool bState ) ; - sal_Bool IsFontHistoryEnabled ( ) const ; void EnableFontHistory ( sal_Bool bState ) ; sal_Bool IsFontWYSIWYGEnabled ( ) const ; void EnableFontWYSIWYG ( sal_Bool bState ) ; - //------------------------------------------------------------------------------------------------------------- - // private methods - //------------------------------------------------------------------------------------------------------------- - private: /*-****************************************************************************************************//** @@ -164,10 +129,6 @@ class SvtFontOptions_Impl : public ConfigItem static Sequence< OUString > impl_GetPropertyNames(); - //------------------------------------------------------------------------------------------------------------- - // private member - //------------------------------------------------------------------------------------------------------------- - private: sal_Bool m_bReplacementTable ; @@ -175,10 +136,6 @@ class SvtFontOptions_Impl : public ConfigItem sal_Bool m_bFontWYSIWYG ; }; -//_________________________________________________________________________________________________________________ -// definitions -//_________________________________________________________________________________________________________________ - //***************************************************************************************************************** // constructor //***************************************************************************************************************** @@ -314,23 +271,6 @@ void SvtFontOptions_Impl::Commit() //***************************************************************************************************************** // public method //***************************************************************************************************************** -sal_Bool SvtFontOptions_Impl::IsReplacementTableEnabled() const -{ - return m_bReplacementTable; -} - -//***************************************************************************************************************** -// public method -//***************************************************************************************************************** -void SvtFontOptions_Impl::EnableReplacementTable( sal_Bool bState ) -{ - m_bReplacementTable = bState; - SetModified(); -} - -//***************************************************************************************************************** -// public method -//***************************************************************************************************************** sal_Bool SvtFontOptions_Impl::IsFontHistoryEnabled() const { return m_bFontHistory; |