summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-12-08 08:16:07 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-12-08 08:16:27 +0100
commit3200068c9ee845c6ea5c121e8fb6dfcd8e367ed8 (patch)
tree8086918a617e2eb91bb378fae848522139a464c1
parent4bdf7154ddfec1f5ae08153eac13aecaa578a8cf (diff)
loplugin:nullptr
Change-Id: I8a1678d1677dbff82b6785834e63007c2c3e9924
-rw-r--r--sc/source/core/data/document.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 3aa651b8565b..8cb6bdb233b6 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -5594,10 +5594,10 @@ void ScDocument::ApplySelectionFrame( const ScMarkData& rMark,
if( pLineOuter && pLineOuter->IsRemoveAdjacentCellBorder() )
{
SvxBoxItem aTmp0( *pLineOuter );
- aTmp0.SetLine( NULL, SvxBoxItemLine::TOP );
- aTmp0.SetLine( NULL, SvxBoxItemLine::BOTTOM );
- aTmp0.SetLine( NULL, SvxBoxItemLine::LEFT );
- aTmp0.SetLine( NULL, SvxBoxItemLine::RIGHT );
+ aTmp0.SetLine( nullptr, SvxBoxItemLine::TOP );
+ aTmp0.SetLine( nullptr, SvxBoxItemLine::BOTTOM );
+ aTmp0.SetLine( nullptr, SvxBoxItemLine::LEFT );
+ aTmp0.SetLine( nullptr, SvxBoxItemLine::RIGHT );
SvxBoxItem aLeft( aTmp0 );
SvxBoxItem aRight( aTmp0 );
SvxBoxItem aTop( aTmp0 );
@@ -5605,8 +5605,8 @@ void ScDocument::ApplySelectionFrame( const ScMarkData& rMark,
SvxBoxInfoItem aTmp1( *pLineInner );
aTmp1.SetTable( false );
- aTmp1.SetLine( NULL, SvxBoxInfoItemLine::HORI );
- aTmp1.SetLine( NULL, SvxBoxInfoItemLine::VERT );
+ aTmp1.SetLine( nullptr, SvxBoxInfoItemLine::HORI );
+ aTmp1.SetLine( nullptr, SvxBoxInfoItemLine::VERT );
aTmp1.SetValid( SvxBoxInfoItemValidFlags::ALL, false );
aTmp1.SetValid( SvxBoxInfoItemValidFlags::DISTANCE );
SvxBoxInfoItem aLeftInfo( aTmp1 );