sc/source/core/data/document.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
New commits: commit c7b3783c6729fbae2eec084c15b47cd7154d4096 Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Dec 7 19:41:28 2015 +0100 loplugin:defaultparams Change-Id: I1a55166217ace26c95f73f710d88d787fdc4e007 diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index 129695a..3aa651b 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -5608,23 +5608,23 @@ void ScDocument::ApplySelectionFrame( const ScMarkData& rMark, aTmp1.SetLine( NULL, SvxBoxInfoItemLine::HORI ); aTmp1.SetLine( NULL, SvxBoxInfoItemLine::VERT ); aTmp1.SetValid( SvxBoxInfoItemValidFlags::ALL, false ); - aTmp1.SetValid( SvxBoxInfoItemValidFlags::DISTANCE, true ); + aTmp1.SetValid( SvxBoxInfoItemValidFlags::DISTANCE ); SvxBoxInfoItem aLeftInfo( aTmp1 ); SvxBoxInfoItem aRightInfo( aTmp1 ); SvxBoxInfoItem aTopInfo( aTmp1 ); SvxBoxInfoItem aBottomInfo( aTmp1 ); if( pLineInner->IsValid( SvxBoxInfoItemValidFlags::TOP ) && !pLineOuter->GetTop() ) - aTopInfo.SetValid( SvxBoxInfoItemValidFlags::BOTTOM, true ); + aTopInfo.SetValid( SvxBoxInfoItemValidFlags::BOTTOM ); if( pLineInner->IsValid( SvxBoxInfoItemValidFlags::BOTTOM ) && !pLineOuter->GetBottom() ) - aBottomInfo.SetValid( SvxBoxInfoItemValidFlags::TOP, true ); + aBottomInfo.SetValid( SvxBoxInfoItemValidFlags::TOP ); if( pLineInner->IsValid( SvxBoxInfoItemValidFlags::LEFT ) && !pLineOuter->GetLeft() ) - aLeftInfo.SetValid( SvxBoxInfoItemValidFlags::RIGHT, true ); + aLeftInfo.SetValid( SvxBoxInfoItemValidFlags::RIGHT ); if( pLineInner->IsValid( SvxBoxInfoItemValidFlags::RIGHT ) && !pLineOuter->GetRight() ) - aRightInfo.SetValid( SvxBoxInfoItemValidFlags::LEFT, true ); + aRightInfo.SetValid( SvxBoxInfoItemValidFlags::LEFT ); const ScRangeList& rRangeListTopEnvelope = rMark.GetTopEnvelope(); const ScRangeList& rRangeListBottomEnvelope = rMark.GetBottomEnvelope(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits