summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-18 12:05:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-18 12:11:53 +0000
commit44848147bb145546c89dae0a7d822c0af7ea5b49 (patch)
tree193afb05526bc47f80779be8cab038cc7c0401a0 /sw
parentf879b301f7192b21832e8a2d3642768869e0d568 (diff)
don't need to use the va_args version
Change-Id: I56e4a6817edac93dee9866b9ae009f0651a29b56
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/uiview/viewtab.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/uibase/uiview/viewtab.cxx b/sw/source/uibase/uiview/viewtab.cxx
index 43fd2ebcd5e9..707bff816b96 100644
--- a/sw/source/uibase/uiview/viewtab.cxx
+++ b/sw/source/uibase/uiview/viewtab.cxx
@@ -1521,9 +1521,7 @@ void SwView::StateTabWin(SfxItemSet& rSet)
aDistLR.SetRight(rBox.GetDistance(SvxBoxItemLine::RIGHT));
//add the paragraph border distance
- SfxItemSet aCoreSet1( GetPool(),
- RES_BOX, RES_BOX,
- 0 );
+ SfxItemSet aCoreSet1( GetPool(), RES_BOX, RES_BOX );
rSh.GetCurAttr( aCoreSet1 );
const SvxBoxItem& rParaBox = static_cast<const SvxBoxItem&>(aCoreSet1.Get(RES_BOX));
aDistLR.SetLeft(aDistLR.GetLeft() + rParaBox.GetDistance(SvxBoxItemLine::LEFT));