summaryrefslogtreecommitdiff
path: root/sw/source/core/attr
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-20 13:18:53 +0200
committerNoel Grandin <noel@peralex.com>2015-08-20 13:52:17 +0200
commitb8e48824bf5b71599c0b8604c444d653fad57e5a (patch)
tree269c13e8b7e79547de6a2ab1c317391715f82d8d /sw/source/core/attr
parent7d769f9df5b95d717f3cd045dbd8f82ff2de27a1 (diff)
loplugin: defaultparams
Change-Id: If105665a016183f08a2be13366e5068060b5954c
Diffstat (limited to 'sw/source/core/attr')
-rw-r--r--sw/source/core/attr/format.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/attr/format.cxx b/sw/source/core/attr/format.cxx
index 20fdef1cd7a8..ad99ba98ef58 100644
--- a/sw/source/core/attr/format.cxx
+++ b/sw/source/core/attr/format.cxx
@@ -715,7 +715,7 @@ sal_uInt16 SwFormat::ResetAllFormatAttr()
// if Modify is locked then no modifications will be sent
if( IsModifyLocked() )
- return m_aSet.ClearItem( 0 );
+ return m_aSet.ClearItem();
SwAttrSet aOld( *m_aSet.GetPool(), m_aSet.GetRanges() ),
aNew( *m_aSet.GetPool(), m_aSet.GetRanges() );