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/itemset.hxx | |
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/itemset.hxx')
-rw-r--r-- | include/svl/itemset.hxx | 4 |
1 files changed, 2 insertions, 2 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 ); |