[Libreoffice-commits] core.git: sw/source
Stephan Bergmann
sbergman at redhat.com
Mon Oct 19 02:25:59 PDT 2015
sw/source/core/doc/doclay.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 044e9314f7ad5ed5b3670860ff7b63ef8733480d
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Oct 19 11:24:44 2015 +0200
loplugin:defaultparams
Change-Id: Ib47ec3687972c2941cbe64b216a0548f2f7261fd
diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx
index afbbff0..eb266f6 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)
More information about the Libreoffice-commits
mailing list