diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-28 08:43:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-28 09:51:22 +0100 |
commit | c3a2d6f9fbdc0ea5c23e0e662f238b23e9c00035 (patch) | |
tree | fb0f56fd1daf7ce25ad6d33b5a8ecc0e55201869 /include/svl | |
parent | 5eec6db4addd7cc665222e1a4d05c35b13719847 (diff) |
loplugin:countusersofdefaultparams in sfx2..svtools
Change-Id: I65ae5305f9cec14069fd7aef6613e981dbbed846
Reviewed-on: https://gerrit.libreoffice.org/45382
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svl')
-rw-r--r-- | include/svl/itemset.hxx | 4 | ||||
-rw-r--r-- | include/svl/urihelper.hxx | 2 | ||||
-rw-r--r-- | include/svl/visitem.hxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/include/svl/itemset.hxx b/include/svl/itemset.hxx index 9291fd430421..c3715177810c 100644 --- a/include/svl/itemset.hxx +++ b/include/svl/itemset.hxx @@ -166,7 +166,7 @@ public: /// Templatized static version of GetItem() to directly return the correct type if the SfxItemSet is available. - template<class T> static const T* GetItem(const SfxItemSet* pItemSet, sal_uInt16 nWhich, bool bSearchInParent = true) + template<class T> static const T* GetItem(const SfxItemSet* pItemSet, sal_uInt16 nWhich, bool bSearchInParent) { if (pItemSet) return pItemSet->GetItem<T>(nWhich, bSearchInParent); @@ -201,7 +201,7 @@ public: bool Put( const SfxItemSet&, bool bInvalidAsDefault = true ); void PutExtended( const SfxItemSet&, - SfxItemState eDontCareAs = SfxItemState::UNKNOWN, + SfxItemState eDontCareAs, SfxItemState eDefaultAs = SfxItemState::UNKNOWN ); bool Set( const SfxItemSet&, bool bDeep = true ); diff --git a/include/svl/urihelper.hxx b/include/svl/urihelper.hxx index fd4039e5da8f..6b5a2fc2ff36 100644 --- a/include/svl/urihelper.hxx +++ b/include/svl/urihelper.hxx @@ -147,7 +147,7 @@ SVL_DLLPUBLIC OUString FindFirstURLInText(OUString const & rText, @return The input URI with any password component removed. */ SVL_DLLPUBLIC OUString removePassword(OUString const & rURI, - INetURLObject::EncodeMechanism eEncodeMechanism = INetURLObject::EncodeMechanism::WasEncoded, + INetURLObject::EncodeMechanism eEncodeMechanism, INetURLObject::DecodeMechanism eDecodeMechanism = INetURLObject::DecodeMechanism::ToIUri, rtl_TextEncoding eCharset = RTL_TEXTENCODING_UTF8); diff --git a/include/svl/visitem.hxx b/include/svl/visitem.hxx index a5a481fa2a6c..af382c426bc3 100644 --- a/include/svl/visitem.hxx +++ b/include/svl/visitem.hxx @@ -30,7 +30,7 @@ class SVL_DLLPUBLIC SfxVisibilityItem: public SfxPoolItem public: - explicit SfxVisibilityItem(sal_uInt16 which, bool bVisible = true): + explicit SfxVisibilityItem(sal_uInt16 which, bool bVisible): SfxPoolItem(which) { m_nValue.bVisible = bVisible; |