diff options
author | August Sodora <augsod@gmail.com> | 2011-12-16 23:49:38 -0500 |
---|---|---|
committer | August Sodora <augsod@gmail.com> | 2011-12-19 14:36:10 -0500 |
commit | db8ff2610aea96597f1a09ec81ae09a7c832d158 (patch) | |
tree | a4e43a3f315d5f7efb89073e89687fcb1f8ca576 /svtools | |
parent | 4f766a2d84de3cc9fa872c251501df79f5081e22 (diff) |
callcatcher: Remove unused code
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/svtools/accessibilityoptions.hxx | 1 | ||||
-rw-r--r-- | svtools/inc/svtools/helpopt.hxx | 1 | ||||
-rw-r--r-- | svtools/inc/svtools/htmlcfg.hxx | 3 | ||||
-rw-r--r-- | svtools/inc/svtools/menuoptions.hxx | 35 | ||||
-rw-r--r-- | svtools/inc/svtools/miscopt.hxx | 40 | ||||
-rw-r--r-- | svtools/source/config/accessibilityoptions.cxx | 5 | ||||
-rw-r--r-- | svtools/source/config/helpopt.cxx | 5 | ||||
-rw-r--r-- | svtools/source/config/htmlcfg.cxx | 17 | ||||
-rw-r--r-- | svtools/source/config/menuoptions.cxx | 27 | ||||
-rw-r--r-- | svtools/source/config/miscopt.cxx | 35 |
10 files changed, 0 insertions, 169 deletions
diff --git a/svtools/inc/svtools/accessibilityoptions.hxx b/svtools/inc/svtools/accessibilityoptions.hxx index 2f964c5e2069..1c219947d971 100644 --- a/svtools/inc/svtools/accessibilityoptions.hxx +++ b/svtools/inc/svtools/accessibilityoptions.hxx @@ -49,7 +49,6 @@ public: virtual ~SvtAccessibilityOptions(); // get & set config entries - sal_Bool GetIsForDrawings() const; // obsolete! sal_Bool GetIsForBorders() const; // obsolete! sal_Bool GetIsForPagePreviews() const; sal_Bool GetIsHelpTipsDisappear() const; diff --git a/svtools/inc/svtools/helpopt.hxx b/svtools/inc/svtools/helpopt.hxx index 020b64c76b94..0e149117305f 100644 --- a/svtools/inc/svtools/helpopt.hxx +++ b/svtools/inc/svtools/helpopt.hxx @@ -83,7 +83,6 @@ public: void SetWelcomeScreen( sal_Bool b ); sal_Bool IsWelcomeScreen() const; - String GetLocale() const; String GetSystem() const; }; diff --git a/svtools/inc/svtools/htmlcfg.hxx b/svtools/inc/svtools/htmlcfg.hxx index 9b35b7b31ca9..9d6c7b682743 100644 --- a/svtools/inc/svtools/htmlcfg.hxx +++ b/svtools/inc/svtools/htmlcfg.hxx @@ -93,9 +93,6 @@ public: sal_Bool IsNumbersEnglishUS() const; void SetNumbersEnglishUS(sal_Bool bSet); - - void AddListenerLink( const Link& rLink ); - void RemoveListenerLink( const Link& rLink ); }; #endif diff --git a/svtools/inc/svtools/menuoptions.hxx b/svtools/inc/svtools/menuoptions.hxx index eb0f83df22c0..00f4100056e2 100644 --- a/svtools/inc/svtools/menuoptions.hxx +++ b/svtools/inc/svtools/menuoptions.hxx @@ -28,19 +28,11 @@ #ifndef INCLUDED_SVTOOLS_MENUOPTIONS_HXX #define INCLUDED_SVTOOLS_MENUOPTIONS_HXX -//_________________________________________________________________________________________________________________ -// includes -//_________________________________________________________________________________________________________________ - #include "svtools/svtdllapi.h" #include <sal/types.h> #include <osl/mutex.hxx> #include <unotools/options.hxx> -//_________________________________________________________________________________________________________________ -// forward declarations -//_________________________________________________________________________________________________________________ - /*-************************************************************************************************************//** @short forward declaration to our private date container implementation @descr We use these class as internal member to support small memory requirements. @@ -51,10 +43,6 @@ class Link; class SvtMenuOptions_Impl; -//_________________________________________________________________________________________________________________ -// declarations -//_________________________________________________________________________________________________________________ - /*-************************************************************************************************************//** @short collect informations about menu features @descr - @@ -67,16 +55,8 @@ class SvtMenuOptions_Impl; class SVT_DLLPUBLIC SvtMenuOptions: public utl::detail::Options { - //------------------------------------------------------------------------------------------------------------- - // public methods - //------------------------------------------------------------------------------------------------------------- - public: - //--------------------------------------------------------------------------------------------------------- - // constructor / destructor - //--------------------------------------------------------------------------------------------------------- - /*-****************************************************************************************************//** @short standard constructor and destructor @descr This will initialize an instance with default values. @@ -98,9 +78,6 @@ class SVT_DLLPUBLIC SvtMenuOptions: public utl::detail::Options void AddListenerLink( const Link& rLink ); void RemoveListenerLink( const Link& rLink ); - //--------------------------------------------------------------------------------------------------------- - // interface - //--------------------------------------------------------------------------------------------------------- /*-****************************************************************************************************//** @short interface methods to get and set value of config key "org.openoffice.Office.Common/View/Menu/..." @@ -119,17 +96,9 @@ class SVT_DLLPUBLIC SvtMenuOptions: public utl::detail::Options *//*-*****************************************************************************************************/ sal_Bool IsEntryHidingEnabled() const; - sal_Bool IsFollowMouseEnabled() const; sal_Int16 GetMenuIconsState() const; - - void SetEntryHidingState( sal_Bool bState ); - void SetFollowMouseState( sal_Bool bState ); void SetMenuIconsState( sal_Int16 bState ); - //------------------------------------------------------------------------------------------------------------- - // private methods - //------------------------------------------------------------------------------------------------------------- - private: /*-****************************************************************************************************//** @@ -148,10 +117,6 @@ class SVT_DLLPUBLIC SvtMenuOptions: public utl::detail::Options SVT_DLLPRIVATE static ::osl::Mutex& GetOwnStaticMutex(); - //------------------------------------------------------------------------------------------------------------- - // private member - //------------------------------------------------------------------------------------------------------------- - private: /*Attention diff --git a/svtools/inc/svtools/miscopt.hxx b/svtools/inc/svtools/miscopt.hxx index eeabc624deff..66eb0c1ddc09 100644 --- a/svtools/inc/svtools/miscopt.hxx +++ b/svtools/inc/svtools/miscopt.hxx @@ -28,10 +28,6 @@ #ifndef INCLUDED_SVTOOLS_MISCOPT_HXX #define INCLUDED_SVTOOLS_MISCOPT_HXX -//_________________________________________________________________________________________________________________ -// includes -//_________________________________________________________________________________________________________________ - #include "svtools/svtdllapi.h" #include <sal/types.h> #include <osl/mutex.hxx> @@ -39,10 +35,6 @@ #include <rtl/ustring.hxx> #include <unotools/options.hxx> -//_________________________________________________________________________________________________________________ -// forward declarations -//_________________________________________________________________________________________________________________ - /*-************************************************************************************************************//** @short forward declaration to our private date container implementation @descr We use these class as internal member to support small memory requirements. @@ -53,10 +45,6 @@ class SvtMiscOptions_Impl; class Link; -//_________________________________________________________________________________________________________________ -// declarations -//_________________________________________________________________________________________________________________ - /*-************************************************************************************************************//** @short collect informations about misc group @descr - @@ -71,16 +59,7 @@ class Link; class SVT_DLLPUBLIC SvtMiscOptions: public utl::detail::Options { - //------------------------------------------------------------------------------------------------------------- - // public methods - //------------------------------------------------------------------------------------------------------------- - public: - - //--------------------------------------------------------------------------------------------------------- - // constructor / destructor - //--------------------------------------------------------------------------------------------------------- - /*-****************************************************************************************************//** @short standard constructor and destructor @descr This will initialize an instance with default values. @@ -103,39 +82,28 @@ class SVT_DLLPUBLIC SvtMiscOptions: public utl::detail::Options void AddListenerLink( const Link& rLink ); void RemoveListenerLink( const Link& rLink ); - //--------------------------------------------------------------------------------------------------------- - // interface - //--------------------------------------------------------------------------------------------------------- - sal_Bool UseSystemFileDialog() const; void SetUseSystemFileDialog( sal_Bool bSet ); sal_Bool IsUseSystemFileDialogReadOnly() const; sal_Bool TryODMADialog() const; void SetTryODMADialog( sal_Bool bSet ); - sal_Bool IsTryUseODMADialogReadOnly() const; sal_Bool DisableUICustomization() const; sal_Bool IsPluginsEnabled() const; - void SetPluginsEnabled( sal_Bool bEnable ); - sal_Bool IsPluginsEnabledReadOnly() const; sal_Int16 GetSymbolsSize() const; void SetSymbolsSize( sal_Int16 eSet ); sal_Int16 GetCurrentSymbolsSize() const; bool AreCurrentSymbolsLarge() const; - sal_Bool IsGetSymbolsSizeReadOnly() const; sal_Int16 GetSymbolsStyle() const; void SetSymbolsStyle( sal_Int16 eSet ); sal_Int16 GetCurrentSymbolsStyle() const; - ::rtl::OUString GetCurrentSymbolsStyleName() const; - sal_Bool IsGetSymbolsStyleReadOnly() const; sal_Int16 GetToolboxStyle() const; void SetToolboxStyle( sal_Int16 nStyle ); - sal_Bool IsGetToolboxStyleReadOnly() const; sal_Bool IsModifyByPrinting() const; void SetModifyByPrinting(sal_Bool bSet ); @@ -153,10 +121,6 @@ class SVT_DLLPUBLIC SvtMiscOptions: public utl::detail::Options void SetExperimentalMode( sal_Bool bSet ); sal_Bool IsExperimentalMode() const; - //------------------------------------------------------------------------------------------------------------- - // private methods - //------------------------------------------------------------------------------------------------------------- - private: /*-****************************************************************************************************//** @@ -175,10 +139,6 @@ class SVT_DLLPUBLIC SvtMiscOptions: public utl::detail::Options SVT_DLLPRIVATE static ::osl::Mutex& GetInitMutex(); - //------------------------------------------------------------------------------------------------------------- - // private member - //------------------------------------------------------------------------------------------------------------- - private: /*Attention diff --git a/svtools/source/config/accessibilityoptions.cxx b/svtools/source/config/accessibilityoptions.cxx index b89c30881882..5b09f66cef9a 100644 --- a/svtools/source/config/accessibilityoptions.cxx +++ b/svtools/source/config/accessibilityoptions.cxx @@ -546,11 +546,6 @@ void SvtAccessibilityOptions::Commit() // ----------------------------------------------------------------------- -sal_Bool SvtAccessibilityOptions::GetIsForDrawings() const -{ - OSL_FAIL( "SvtAccessibilityOptions::GetIsForDrawings: is obsolete!" ); - return sal_False; -} sal_Bool SvtAccessibilityOptions::GetIsForBorders() const { OSL_FAIL( "SvtAccessibilityOptions::GetIsForBorders: is obsolete!" ); diff --git a/svtools/source/config/helpopt.cxx b/svtools/source/config/helpopt.cxx index e5359dae23ec..6e1eb8bcff89 100644 --- a/svtools/source/config/helpopt.cxx +++ b/svtools/source/config/helpopt.cxx @@ -712,11 +712,6 @@ sal_Bool SvtHelpOptions::IsWelcomeScreen() const return pImp->IsWelcomeScreen(); } -String SvtHelpOptions::GetLocale() const -{ - return pImp->GetLocale(); -} - String SvtHelpOptions::GetSystem() const { return pImp->GetSystem(); diff --git a/svtools/source/config/htmlcfg.cxx b/svtools/source/config/htmlcfg.cxx index 76954dfcc5d6..81bd2b786a4a 100644 --- a/svtools/source/config/htmlcfg.cxx +++ b/svtools/source/config/htmlcfg.cxx @@ -253,23 +253,6 @@ void SvxHtmlOptions::Commit() PutProperties(aNames, aValues); } -void SvxHtmlOptions::AddListenerLink( const Link& rLink ) -{ - pImp->aList.push_back( rLink ); -} - -void SvxHtmlOptions::RemoveListenerLink( const Link& rLink ) -{ - for ( ::std::list<Link>::iterator iter = pImp->aList.begin(); iter != pImp->aList.end(); ++iter ) - { - if ( *iter == rLink ) - { - pImp->aList.erase(iter); - break; - } - } -} - void SvxHtmlOptions::CallListeners() { for ( ::std::list<Link>::const_iterator iter = pImp->aList.begin(); iter != pImp->aList.end(); ++iter ) diff --git a/svtools/source/config/menuoptions.cxx b/svtools/source/config/menuoptions.cxx index 6fd10f8ed10f..8d2ee21b8185 100644 --- a/svtools/source/config/menuoptions.cxx +++ b/svtools/source/config/menuoptions.cxx @@ -495,33 +495,6 @@ sal_Bool SvtMenuOptions::IsEntryHidingEnabled() const //***************************************************************************************************************** // public method //***************************************************************************************************************** -sal_Bool SvtMenuOptions::IsFollowMouseEnabled() const -{ - MutexGuard aGuard( GetOwnStaticMutex() ); - return m_pDataContainer->IsFollowMouseEnabled(); -} - -//***************************************************************************************************************** -// public method -//***************************************************************************************************************** -void SvtMenuOptions::SetEntryHidingState( sal_Bool bState ) -{ - MutexGuard aGuard( GetOwnStaticMutex() ); - m_pDataContainer->SetEntryHidingState( bState ); -} - -//***************************************************************************************************************** -// public method -//***************************************************************************************************************** -void SvtMenuOptions::SetFollowMouseState( sal_Bool bState ) -{ - MutexGuard aGuard( GetOwnStaticMutex() ); - m_pDataContainer->SetFollowMouseState( bState ); -} - -//***************************************************************************************************************** -// public method -//***************************************************************************************************************** sal_Int16 SvtMenuOptions::GetMenuIconsState() const { MutexGuard aGuard( GetOwnStaticMutex() ); diff --git a/svtools/source/config/miscopt.cxx b/svtools/source/config/miscopt.cxx index 2c1b498af5c8..36a44660915a 100644 --- a/svtools/source/config/miscopt.cxx +++ b/svtools/source/config/miscopt.cxx @@ -848,26 +848,11 @@ void SvtMiscOptions::SetTryODMADialog( sal_Bool bEnable ) m_pDataContainer->SetTryODMADialog( bEnable ); } -sal_Bool SvtMiscOptions::IsTryUseODMADialogReadOnly() const -{ - return m_pDataContainer->IsTryUseODMADialogReadOnly(); -} - sal_Bool SvtMiscOptions::IsPluginsEnabled() const { return m_pDataContainer->IsPluginsEnabled(); } -void SvtMiscOptions::SetPluginsEnabled( sal_Bool bEnable ) -{ - m_pDataContainer->SetPluginsEnabled( bEnable ); -} - -sal_Bool SvtMiscOptions::IsPluginsEnabledReadOnly() const -{ - return m_pDataContainer->IsPluginsEnabledReadOnly(); -} - sal_Int16 SvtMiscOptions::GetSymbolsSize() const { return m_pDataContainer->GetSymbolsSize(); @@ -901,11 +886,6 @@ bool SvtMiscOptions::AreCurrentSymbolsLarge() const return ( GetCurrentSymbolsSize() == SFX_SYMBOLS_SIZE_LARGE ); } -sal_Bool SvtMiscOptions::IsGetSymbolsSizeReadOnly() const -{ - return m_pDataContainer->IsGetSymbolsSizeReadOnly(); -} - sal_Int16 SvtMiscOptions::GetSymbolsStyle() const { return m_pDataContainer->GetSymbolsStyle(); @@ -916,21 +896,11 @@ sal_Int16 SvtMiscOptions::GetCurrentSymbolsStyle() const return m_pDataContainer->GetCurrentSymbolsStyle(); } -OUString SvtMiscOptions::GetCurrentSymbolsStyleName() const -{ - return Application::GetSettings().GetStyleSettings().GetCurrentSymbolsStyleName(); -} - void SvtMiscOptions::SetSymbolsStyle( sal_Int16 nSet ) { m_pDataContainer->SetSymbolsStyle( nSet ); } -sal_Bool SvtMiscOptions::IsGetSymbolsStyleReadOnly() const -{ - return m_pDataContainer->IsGetSymbolsStyleReadOnly(); -} - sal_Bool SvtMiscOptions::DisableUICustomization() const { return m_pDataContainer->DisableUICustomization(); @@ -946,11 +916,6 @@ void SvtMiscOptions::SetToolboxStyle( sal_Int16 nStyle ) m_pDataContainer->SetToolboxStyle( nStyle, true ); } -sal_Bool SvtMiscOptions::IsGetToolboxStyleReadOnly() const -{ - return m_pDataContainer->IsGetToolboxStyleReadOnly(); -} - sal_Bool SvtMiscOptions::UseSystemPrintDialog() const { return m_pDataContainer->UseSystemPrintDialog(); |