[Libreoffice-commits] core.git: sc/source
Stephan Bergmann
sbergman at redhat.com
Mon Dec 7 10:41:52 PST 2015
sc/source/core/data/document.cxx | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
New commits:
commit c7b3783c6729fbae2eec084c15b47cd7154d4096
Author: Stephan Bergmann <sbergman at 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();
More information about the Libreoffice-commits
mailing list