Kaydet (Commit) 44848147 authored tarafından Caolán McNamara's avatar Caolán McNamara

don't need to use the va_args version

Change-Id: I56e4a6817edac93dee9866b9ae009f0651a29b56
üst f879b301
...@@ -1521,9 +1521,7 @@ void SwView::StateTabWin(SfxItemSet& rSet) ...@@ -1521,9 +1521,7 @@ void SwView::StateTabWin(SfxItemSet& rSet)
aDistLR.SetRight(rBox.GetDistance(SvxBoxItemLine::RIGHT)); aDistLR.SetRight(rBox.GetDistance(SvxBoxItemLine::RIGHT));
//add the paragraph border distance //add the paragraph border distance
SfxItemSet aCoreSet1( GetPool(), SfxItemSet aCoreSet1( GetPool(), RES_BOX, RES_BOX );
RES_BOX, RES_BOX,
0 );
rSh.GetCurAttr( aCoreSet1 ); rSh.GetCurAttr( aCoreSet1 );
const SvxBoxItem& rParaBox = static_cast<const SvxBoxItem&>(aCoreSet1.Get(RES_BOX)); const SvxBoxItem& rParaBox = static_cast<const SvxBoxItem&>(aCoreSet1.Get(RES_BOX));
aDistLR.SetLeft(aDistLR.GetLeft() + rParaBox.GetDistance(SvxBoxItemLine::LEFT)); aDistLR.SetLeft(aDistLR.GetLeft() + rParaBox.GetDistance(SvxBoxItemLine::LEFT));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment