summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
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)