diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-15 10:08:02 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-01-15 11:51:16 +0000 |
commit | 24ada6566044881c95e33fada9d305904db46ad7 (patch) | |
tree | 0f340f41c9a2af0630aa43a6378233c19482e4ce /include | |
parent | cdaee607e89757886d9a2366581c98a393a688e0 (diff) |
loplugin:unusedmethods unused return value in include/unotools
Change-Id: I3b2281dc713bff92eb3d80fddef04a8a39838aa8
Reviewed-on: https://gerrit.libreoffice.org/21484
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/unotools/collatorwrapper.hxx | 2 | ||||
-rw-r--r-- | include/unotools/securityoptions.hxx | 2 | ||||
-rw-r--r-- | include/unotools/viewoptions.hxx | 6 |
3 files changed, 3 insertions, 7 deletions
diff --git a/include/unotools/collatorwrapper.hxx b/include/unotools/collatorwrapper.hxx index a3ef7b531acf..b67d9ee54246 100644 --- a/include/unotools/collatorwrapper.hxx +++ b/include/unotools/collatorwrapper.hxx @@ -51,7 +51,7 @@ class UNOTOOLS_DLLPUBLIC CollatorWrapper loadDefaultCollator ( const css::lang::Locale& rLocale, sal_Int32 nOption); - sal_Int32 + void loadCollatorAlgorithm ( const OUString& rAlgorithm, const css::lang::Locale& rLocale, sal_Int32 nOption); diff --git a/include/unotools/securityoptions.hxx b/include/unotools/securityoptions.hxx index 471ac3afb44b..3f118d2d193c 100644 --- a/include/unotools/securityoptions.hxx +++ b/include/unotools/securityoptions.hxx @@ -193,7 +193,7 @@ class SAL_WARN_UNUSED UNOTOOLS_DLLPUBLIC SvtSecurityOptions : public utl::detail // for bool options only! bool IsOptionSet ( EOption eOption ) const; - bool SetOption ( EOption eOption, bool bValue ); + void SetOption ( EOption eOption, bool bValue ); bool IsOptionEnabled ( EOption eOption ) const; // xmlsec05 deprecated methods diff --git a/include/unotools/viewoptions.hxx b/include/unotools/viewoptions.hxx index 71192fcf4fe7..6cd10e8aa535 100644 --- a/include/unotools/viewoptions.hxx +++ b/include/unotools/viewoptions.hxx @@ -150,13 +150,9 @@ class SAL_WARN_UNUSED UNOTOOLS_DLLPUBLIC SvtViewOptions : public utl::detail::Op your view will die relay in configuration... @seealso method Exist() - - @return True if delete OK, False otherwise. - - @onerror We return sal_False. *//*-*****************************************************************************************************/ - bool Delete(); + void Delete(); /*-**************************************************************************************************** @short use it to set/get the window state of your view |