diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-08-04 15:17:03 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-08-04 15:57:04 +0200 |
commit | 1af0e36fb6b1a013db6b4f2875be8a85fd67c2a2 (patch) | |
tree | 02e49f899acf8c43a320e62052a836fdde91f309 /sw/source/ui/uiview | |
parent | 14d0096300685ec508b3b54d773db7767ce3b429 (diff) |
kill va_args abuse for SfxItemSet
Change-Id: I200addfdf551f1b8437b704c481d397c53440dcd
Diffstat (limited to 'sw/source/ui/uiview')
-rw-r--r-- | sw/source/ui/uiview/viewtab.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/ui/uiview/viewtab.cxx b/sw/source/ui/uiview/viewtab.cxx index f94c1231294f..c706424a9196 100644 --- a/sw/source/ui/uiview/viewtab.cxx +++ b/sw/source/ui/uiview/viewtab.cxx @@ -1156,9 +1156,7 @@ void SwView::StateTabWin(SfxItemSet& rSet) aDistLR.SetRight((sal_uInt16)rBox.GetDistance(BOX_LINE_RIGHT)); //add the border distance of the paragraph - SfxItemSet aCoreSet1( GetPool(), - RES_BOX, RES_BOX, - 0 ); + SfxItemSet aCoreSet1( GetPool(), RES_BOX, RES_BOX ); rSh.GetCurAttr( aCoreSet1 ); const SvxBoxItem& rParaBox = (const SvxBoxItem&)aCoreSet1.Get(RES_BOX); aDistLR.SetLeft(aDistLR.GetLeft() + (sal_uInt16)rParaBox.GetDistance(BOX_LINE_LEFT )); |