summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-19 11:24:44 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-19 11:25:38 +0200
commit044e9314f7ad5ed5b3670860ff7b63ef8733480d (patch)
treefce478d8c3b0e23c7c11c45973262752ce0a1832 /sw
parent4902be3e1bca72733ee41e6dee460834e83e012d (diff)
loplugin:defaultparams
Change-Id: Ib47ec3687972c2941cbe64b216a0548f2f7261fd
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/doclay.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx
index afbbff02b6f0..eb266f6cc686 100644
--- a/sw/source/core/doc/doclay.cxx
+++ b/sw/source/core/doc/doclay.cxx
@@ -610,10 +610,10 @@ static void lcl_CpyAttr( SfxItemSet &rNewSet, const SfxItemSet &rOldSet, sal_uIn
rNewSet.Put( *pOldItem );
else
{
- pOldItem = rOldSet.GetItem( nWhich, true);
+ pOldItem = rOldSet.GetItem( nWhich );
if (pOldItem != NULL)
{
- const SfxPoolItem *pNewItem = rNewSet.GetItem( nWhich, true);
+ const SfxPoolItem *pNewItem = rNewSet.GetItem( nWhich );
if (pNewItem != NULL)
{
if (*pOldItem != *pNewItem)