summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-04-19 10:27:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-04-19 21:26:52 +0200
commitc04c38f4841aff5eac78c92a7145b661a3a99c2a (patch)
tree19f8d99a000dac520a52500c2ebf941181263ce1 /svl
parent99c857afdaab9450f31b60723afd8c455947a712 (diff)
loplugin:constantparam
Change-Id: I58e31ffdfc87a15e82bce54afd47ff3906159707 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166293 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/itemset.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx
index 5e361f8ad0b1..61125a351a3d 100644
--- a/svl/source/items/itemset.cxx
+++ b/svl/source/items/itemset.cxx
@@ -1846,7 +1846,7 @@ void SfxItemSet::MergeValues( const SfxItemSet& rSet )
}
}
-void SfxItemSet::MergeValue(const SfxPoolItem& rAttr, bool bIgnoreDefaults)
+void SfxItemSet::MergeValue(const SfxPoolItem& rAttr)
{
if (IsDisabledItem(&rAttr))
// is IsDisabledItem, nothing to do
@@ -1856,7 +1856,7 @@ void SfxItemSet::MergeValue(const SfxPoolItem& rAttr, bool bIgnoreDefaults)
if (INVALID_WHICHPAIR_OFFSET != nOffset)
{
- MergeItem_Impl(begin() + nOffset, &rAttr, bIgnoreDefaults);
+ MergeItem_Impl(begin() + nOffset, &rAttr, /*bIgnoreDefaults*/true);
}
}