diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-11-30 09:36:49 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-11-30 14:10:06 +0000 |
commit | df46204c5cd3b3209709b537348b4532cc6c9bc4 (patch) | |
tree | c9b23dc0c25e3b5a667b590dff583ae0ccf9c508 | |
parent | 7369ac227531330b96981359c6e346da1c0e1bd1 (diff) |
shake out unused option instances
Change-Id: I2a7ac1ed79455f28f2ba2043b9183a77c63e68ab
-rw-r--r-- | svtools/inc/svtools/menuoptions.hxx | 2 | ||||
-rw-r--r-- | unotools/inc/unotools/cmdoptions.hxx | 2 | ||||
-rw-r--r-- | unotools/inc/unotools/defaultoptions.hxx | 2 | ||||
-rw-r--r-- | unotools/inc/unotools/dynamicmenuoptions.hxx | 2 | ||||
-rw-r--r-- | unotools/inc/unotools/extendedsecurityoptions.hxx | 2 | ||||
-rw-r--r-- | unotools/inc/unotools/fontoptions.hxx | 2 | ||||
-rw-r--r-- | unotools/inc/unotools/historyoptions.hxx | 2 | ||||
-rw-r--r-- | unotools/inc/unotools/internaloptions.hxx | 2 | ||||
-rw-r--r-- | unotools/inc/unotools/localisationoptions.hxx | 2 | ||||
-rw-r--r-- | unotools/inc/unotools/moduleoptions.hxx | 2 | ||||
-rw-r--r-- | unotools/inc/unotools/options.hxx | 3 | ||||
-rw-r--r-- | unotools/inc/unotools/optionsdlg.hxx | 2 | ||||
-rw-r--r-- | unotools/inc/unotools/pathoptions.hxx | 2 | ||||
-rw-r--r-- | unotools/inc/unotools/printwarningoptions.hxx | 2 | ||||
-rw-r--r-- | unotools/inc/unotools/securityoptions.hxx | 2 | ||||
-rw-r--r-- | unotools/inc/unotools/syslocaleoptions.hxx | 2 | ||||
-rw-r--r-- | unotools/inc/unotools/useroptions.hxx | 2 | ||||
-rw-r--r-- | unotools/inc/unotools/viewoptions.hxx | 2 | ||||
-rw-r--r-- | unotools/inc/unotools/workingsetoptions.hxx | 2 |
19 files changed, 20 insertions, 19 deletions
diff --git a/svtools/inc/svtools/menuoptions.hxx b/svtools/inc/svtools/menuoptions.hxx index 387e74e32e36..fa99dbf8c760 100644 --- a/svtools/inc/svtools/menuoptions.hxx +++ b/svtools/inc/svtools/menuoptions.hxx @@ -44,7 +44,7 @@ class SvtMenuOptions_Impl; @devstatus ready to use *//*-*************************************************************************************************************/ -class SVT_DLLPUBLIC SvtMenuOptions: public utl::detail::Options +class SVT_DLLPUBLIC SAL_WARN_UNUSED SvtMenuOptions: public utl::detail::Options { public: diff --git a/unotools/inc/unotools/cmdoptions.hxx b/unotools/inc/unotools/cmdoptions.hxx index b925704daf6d..b24635f1ebec 100644 --- a/unotools/inc/unotools/cmdoptions.hxx +++ b/unotools/inc/unotools/cmdoptions.hxx @@ -51,7 +51,7 @@ class SvtCommandOptions_Impl; @devstatus ready to use *//*-*************************************************************************************************************/ -class UNOTOOLS_DLLPUBLIC SvtCommandOptions: public utl::detail::Options +class UNOTOOLS_DLLPUBLIC SAL_WARN_UNUSED SvtCommandOptions : public utl::detail::Options { friend class SvtCommandOptions_Impl; diff --git a/unotools/inc/unotools/defaultoptions.hxx b/unotools/inc/unotools/defaultoptions.hxx index 5c529b1151d1..175fd3239f7a 100644 --- a/unotools/inc/unotools/defaultoptions.hxx +++ b/unotools/inc/unotools/defaultoptions.hxx @@ -29,7 +29,7 @@ class SvtDefaultOptions_Impl; // class SvtDefaultOptions ----------------------------------------------- class SvtDefaultOptions_Impl; -class UNOTOOLS_DLLPUBLIC SvtDefaultOptions: public utl::detail::Options +class UNOTOOLS_DLLPUBLIC SAL_WARN_UNUSED SvtDefaultOptions : public utl::detail::Options { private: SvtDefaultOptions_Impl* pImp; diff --git a/unotools/inc/unotools/dynamicmenuoptions.hxx b/unotools/inc/unotools/dynamicmenuoptions.hxx index cf41e124f834..8c29bf71c8ac 100644 --- a/unotools/inc/unotools/dynamicmenuoptions.hxx +++ b/unotools/inc/unotools/dynamicmenuoptions.hxx @@ -64,7 +64,7 @@ class SvtDynamicMenuOptions_Impl; @devstatus ready to use *//*-*************************************************************************************************************/ -class UNOTOOLS_DLLPUBLIC SvtDynamicMenuOptions: public utl::detail::Options +class UNOTOOLS_DLLPUBLIC SAL_WARN_UNUSED SvtDynamicMenuOptions : public utl::detail::Options { public: /*-****************************************************************************************************//** diff --git a/unotools/inc/unotools/extendedsecurityoptions.hxx b/unotools/inc/unotools/extendedsecurityoptions.hxx index 43815aa801b6..521505134c4c 100644 --- a/unotools/inc/unotools/extendedsecurityoptions.hxx +++ b/unotools/inc/unotools/extendedsecurityoptions.hxx @@ -47,7 +47,7 @@ class SvtExtendedSecurityOptions_Impl; @devstatus ready to use *//*-*************************************************************************************************************/ -class UNOTOOLS_DLLPUBLIC SvtExtendedSecurityOptions: public utl::detail::Options +class UNOTOOLS_DLLPUBLIC SAL_WARN_UNUSED SvtExtendedSecurityOptions : public utl::detail::Options { public: // Must be zero based! diff --git a/unotools/inc/unotools/fontoptions.hxx b/unotools/inc/unotools/fontoptions.hxx index fa1f16f6f003..333a481495be 100644 --- a/unotools/inc/unotools/fontoptions.hxx +++ b/unotools/inc/unotools/fontoptions.hxx @@ -44,7 +44,7 @@ class SvtFontOptions_Impl; @devstatus ready to use *//*-*************************************************************************************************************/ -class UNOTOOLS_DLLPUBLIC SvtFontOptions: public utl::detail::Options +class UNOTOOLS_DLLPUBLIC SAL_WARN_UNUSED SvtFontOptions : public utl::detail::Options { public: /*-****************************************************************************************************//** diff --git a/unotools/inc/unotools/historyoptions.hxx b/unotools/inc/unotools/historyoptions.hxx index fbc36116732f..425aa903c866 100644 --- a/unotools/inc/unotools/historyoptions.hxx +++ b/unotools/inc/unotools/historyoptions.hxx @@ -67,7 +67,7 @@ class SvtHistoryOptions_Impl; @devstatus ready to use *//*-*************************************************************************************************************/ -class UNOTOOLS_DLLPUBLIC SvtHistoryOptions: public utl::detail::Options +class UNOTOOLS_DLLPUBLIC SvtHistoryOptions SAL_WARN_UNUSED : public utl::detail::Options { public: /*-****************************************************************************************************//** diff --git a/unotools/inc/unotools/internaloptions.hxx b/unotools/inc/unotools/internaloptions.hxx index 666e3af26537..49db685a533d 100644 --- a/unotools/inc/unotools/internaloptions.hxx +++ b/unotools/inc/unotools/internaloptions.hxx @@ -48,7 +48,7 @@ class SvtInternalOptions_Impl; @devstatus ready to use *//*-*************************************************************************************************************/ -class UNOTOOLS_DLLPUBLIC SvtInternalOptions: public utl::detail::Options +class UNOTOOLS_DLLPUBLIC SAL_WARN_UNUSED SvtInternalOptions : public utl::detail::Options { public: diff --git a/unotools/inc/unotools/localisationoptions.hxx b/unotools/inc/unotools/localisationoptions.hxx index dba9f45b2085..93f5d1f5d410 100644 --- a/unotools/inc/unotools/localisationoptions.hxx +++ b/unotools/inc/unotools/localisationoptions.hxx @@ -43,7 +43,7 @@ class SvtLocalisationOptions_Impl; @devstatus ready to use *//*-*************************************************************************************************************/ -class UNOTOOLS_DLLPUBLIC SvtLocalisationOptions: public utl::detail::Options +class UNOTOOLS_DLLPUBLIC SAL_WARN_UNUSED SvtLocalisationOptions : public utl::detail::Options { public: /*-****************************************************************************************************//** diff --git a/unotools/inc/unotools/moduleoptions.hxx b/unotools/inc/unotools/moduleoptions.hxx index e382c2c25d01..fed7fa9e0003 100644 --- a/unotools/inc/unotools/moduleoptions.hxx +++ b/unotools/inc/unotools/moduleoptions.hxx @@ -58,7 +58,7 @@ class SvtModuleOptions_Impl; @devstatus ready to use @threadsafe yes *//*-*************************************************************************************************************/ -class UNOTOOLS_DLLPUBLIC SvtModuleOptions: public utl::detail::Options +class UNOTOOLS_DLLPUBLIC SAL_WARN_UNUSED SvtModuleOptions : public utl::detail::Options { public: diff --git a/unotools/inc/unotools/options.hxx b/unotools/inc/unotools/options.hxx index aabb9cc89057..5a37b026fb63 100644 --- a/unotools/inc/unotools/options.hxx +++ b/unotools/inc/unotools/options.hxx @@ -72,7 +72,8 @@ namespace detail { // shared between unotools, svl and svt) // It also provides an implementation for a Configuration Listener and inherits a broadcaster implementation -class UNOTOOLS_DLLPUBLIC Options : public utl::ConfigurationBroadcaster, public utl::ConfigurationListener +class UNOTOOLS_DLLPUBLIC SAL_WARN_UNUSED Options + : public utl::ConfigurationBroadcaster, public utl::ConfigurationListener { public: Options(); diff --git a/unotools/inc/unotools/optionsdlg.hxx b/unotools/inc/unotools/optionsdlg.hxx index d4fc68367335..86821832ece7 100644 --- a/unotools/inc/unotools/optionsdlg.hxx +++ b/unotools/inc/unotools/optionsdlg.hxx @@ -25,7 +25,7 @@ class SvtOptionsDlgOptions_Impl; -class UNOTOOLS_DLLPUBLIC SvtOptionsDialogOptions: public utl::detail::Options +class UNOTOOLS_DLLPUBLIC SAL_WARN_UNUSED SvtOptionsDialogOptions : public utl::detail::Options { private: SvtOptionsDlgOptions_Impl* m_pImp; diff --git a/unotools/inc/unotools/pathoptions.hxx b/unotools/inc/unotools/pathoptions.hxx index 4447ea3a95b3..680a196f7058 100644 --- a/unotools/inc/unotools/pathoptions.hxx +++ b/unotools/inc/unotools/pathoptions.hxx @@ -29,7 +29,7 @@ // class SvtPathOptions -------------------------------------------------- class SvtPathOptions_Impl; -class UNOTOOLS_DLLPUBLIC SvtPathOptions: public utl::detail::Options +class UNOTOOLS_DLLPUBLIC SAL_WARN_UNUSED SvtPathOptions : public utl::detail::Options { private: SvtPathOptions_Impl* pImp; diff --git a/unotools/inc/unotools/printwarningoptions.hxx b/unotools/inc/unotools/printwarningoptions.hxx index 745ce724b718..327cf8d40c75 100644 --- a/unotools/inc/unotools/printwarningoptions.hxx +++ b/unotools/inc/unotools/printwarningoptions.hxx @@ -45,7 +45,7 @@ class SvtPrintWarningOptions_Impl; @devstatus ready to use *//*-*************************************************************************************************************/ -class UNOTOOLS_DLLPUBLIC SvtPrintWarningOptions: public utl::detail::Options +class UNOTOOLS_DLLPUBLIC SAL_WARN_UNUSED SvtPrintWarningOptions : public utl::detail::Options { public: /*-****************************************************************************************************//** diff --git a/unotools/inc/unotools/securityoptions.hxx b/unotools/inc/unotools/securityoptions.hxx index 05d919481131..9676c309107c 100644 --- a/unotools/inc/unotools/securityoptions.hxx +++ b/unotools/inc/unotools/securityoptions.hxx @@ -59,7 +59,7 @@ enum EBasicSecurityMode @devstatus ready to use *//*-*************************************************************************************************************/ -class UNOTOOLS_DLLPUBLIC SvtSecurityOptions: public utl::detail::Options +class UNOTOOLS_DLLPUBLIC SAL_WARN_UNUSED SvtSecurityOptions : public utl::detail::Options { public: diff --git a/unotools/inc/unotools/syslocaleoptions.hxx b/unotools/inc/unotools/syslocaleoptions.hxx index d9bb17e36eda..546682b8e56d 100644 --- a/unotools/inc/unotools/syslocaleoptions.hxx +++ b/unotools/inc/unotools/syslocaleoptions.hxx @@ -42,7 +42,7 @@ class SvtSysLocaleOptions_Impl; class SvtListener; namespace osl { class Mutex; } -class UNOTOOLS_DLLPUBLIC SvtSysLocaleOptions: public utl::detail::Options +class UNOTOOLS_DLLPUBLIC SAL_WARN_UNUSED SvtSysLocaleOptions : public utl::detail::Options { static SvtSysLocaleOptions_Impl* pOptions; static sal_Int32 nRefCount; diff --git a/unotools/inc/unotools/useroptions.hxx b/unotools/inc/unotools/useroptions.hxx index a7b2267d7439..f3752c54e73b 100644 --- a/unotools/inc/unotools/useroptions.hxx +++ b/unotools/inc/unotools/useroptions.hxx @@ -49,7 +49,7 @@ // class SvtUserOptions -------------------------------------------------- -class UNOTOOLS_DLLPUBLIC SvtUserOptions : public utl::detail::Options +class UNOTOOLS_DLLPUBLIC SAL_WARN_UNUSED SvtUserOptions : public utl::detail::Options { public: SvtUserOptions (); diff --git a/unotools/inc/unotools/viewoptions.hxx b/unotools/inc/unotools/viewoptions.hxx index 8270ed9ef933..0fa54f2b408f 100644 --- a/unotools/inc/unotools/viewoptions.hxx +++ b/unotools/inc/unotools/viewoptions.hxx @@ -103,7 +103,7 @@ enum EViewType @devstatus ready to use *//*-*************************************************************************************************************/ -class UNOTOOLS_DLLPUBLIC SvtViewOptions: public utl::detail::Options +class UNOTOOLS_DLLPUBLIC SAL_WARN_UNUSED SvtViewOptions : public utl::detail::Options { //------------------------------------------------------------------------------------------------------------- // public methods diff --git a/unotools/inc/unotools/workingsetoptions.hxx b/unotools/inc/unotools/workingsetoptions.hxx index bf9a1c833bcd..613d20594608 100644 --- a/unotools/inc/unotools/workingsetoptions.hxx +++ b/unotools/inc/unotools/workingsetoptions.hxx @@ -48,7 +48,7 @@ class SvtWorkingSetOptions_Impl; @devstatus ready to use *//*-*************************************************************************************************************/ -class SvtWorkingSetOptions: public utl::detail::Options +class SAL_WARN_UNUSED SvtWorkingSetOptions : public utl::detail::Options { //------------------------------------------------------------------------------------------------------------- // public methods |