From bbe9cf453c9fd1809e6802e01bf959f7de7e9de9 Mon Sep 17 00:00:00 2001 From: August Sodora Date: Tue, 20 Dec 2011 15:20:29 -0500 Subject: callcatcher: Remove unused code --- svtools/source/config/miscopt.cxx | 41 --------------------------------------- 1 file changed, 41 deletions(-) (limited to 'svtools/source/config') diff --git a/svtools/source/config/miscopt.cxx b/svtools/source/config/miscopt.cxx index 36a44660915a..42a0c0d88b5c 100644 --- a/svtools/source/config/miscopt.cxx +++ b/svtools/source/config/miscopt.cxx @@ -26,10 +26,6 @@ * ************************************************************************/ -//_________________________________________________________________________________________________________________ -// includes -//_________________________________________________________________________________________________________________ - #include #include #include @@ -49,20 +45,12 @@ #include -//_________________________________________________________________________________________________________________ -// namespaces -//_________________________________________________________________________________________________________________ - using namespace ::utl ; using namespace ::rtl ; using namespace ::osl ; using namespace ::com::sun::star::uno ; using namespace ::com::sun::star; -//_________________________________________________________________________________________________________________ -// const -//_________________________________________________________________________________________________________________ - #define ASCII_STR(s) OUString( RTL_CONSTASCII_USTRINGPARAM(s) ) #define ROOTNODE_MISC ASCII_STR("Office.Common/Misc") #define DEFAULT_PLUGINSENABLED sal_True; @@ -94,16 +82,8 @@ using namespace ::com::sun::star; #define VCL_TOOLBOX_STYLE_FLAT ((sal_uInt16)0x0004) // from -//_________________________________________________________________________________________________________________ -// private declarations! -//_________________________________________________________________________________________________________________ - class SvtMiscOptions_Impl : public ConfigItem { - //------------------------------------------------------------------------------------------------------------- - // private member - //------------------------------------------------------------------------------------------------------------- - private: ::std::list aList; sal_Bool m_bUseSystemFileDialog; @@ -125,23 +105,11 @@ class SvtMiscOptions_Impl : public ConfigItem sal_Bool m_bAlwaysAllowSave; sal_Bool m_bExperimentalMode; - //------------------------------------------------------------------------------------------------------------- - // public methods - //------------------------------------------------------------------------------------------------------------- - public: - //--------------------------------------------------------------------------------------------------------- - // constructor / destructor - //--------------------------------------------------------------------------------------------------------- - SvtMiscOptions_Impl(); ~SvtMiscOptions_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 @@ -219,8 +187,6 @@ class SvtMiscOptions_Impl : public ConfigItem inline sal_Bool IsPluginsEnabled() const { return m_bPluginsEnabled; } - void SetPluginsEnabled( sal_Bool bEnable ); - inline sal_Bool IsPluginsEnabledReadOnly() const { return m_bIsPluginsEnabledRO; } @@ -646,13 +612,6 @@ void SvtMiscOptions_Impl::ImplSetSymbolsStyle( bool bValue, sal_Int16 nSet, cons } } -void SvtMiscOptions_Impl::SetPluginsEnabled( sal_Bool bEnable ) -{ - m_bPluginsEnabled = bEnable; - SetModified(); - CallListeners(); -} - //***************************************************************************************************************** // public method //***************************************************************************************************************** -- cgit