diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-12-07 19:41:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-12-07 19:41:28 +0100 |
commit | c7b3783c6729fbae2eec084c15b47cd7154d4096 (patch) | |
tree | 7342431b5d74ffc8ce8844da46879baef3223e3b /sc | |
parent | f2e3655255db4032738849cd4b77ce67a6e2c984 (diff) |
loplugin:defaultparams
Change-Id: I1a55166217ace26c95f73f710d88d787fdc4e007
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/document.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index 129695ab12bb..3aa651b8565b 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(); |