[Libreoffice-commits] core.git: sc/source

Stephan Bergmann sbergman at redhat.com
Mon Dec 7 23:16:51 PST 2015


 sc/source/core/data/document.cxx |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 3200068c9ee845c6ea5c121e8fb6dfcd8e367ed8
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Dec 8 08:16:07 2015 +0100

    loplugin:nullptr
    
    Change-Id: I8a1678d1677dbff82b6785834e63007c2c3e9924

diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 3aa651b..8cb6bdb 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 );


More information about the Libreoffice-commits mailing list