diff options
Diffstat (limited to 'sw/source/core/table/swnewtable.cxx')
-rw-r--r-- | sw/source/core/table/swnewtable.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/table/swnewtable.cxx b/sw/source/core/table/swnewtable.cxx index f407a0eec839..5dff4890393d 100644 --- a/sw/source/core/table/swnewtable.cxx +++ b/sw/source/core/table/swnewtable.cxx @@ -815,7 +815,7 @@ bool SwTable::PrepareMerge( const SwPaM& rPam, SwSelBoxes& rBoxes, CHECK_TABLE( *this ) // We have to assert a "rectangular" box selection before we start to merge std::unique_ptr< SwBoxSelection > pSel( CollectBoxSelection( rPam ) ); - if( !pSel.get() || pSel->isEmpty() ) + if (!pSel || pSel->isEmpty()) return false; // Now we should have a rectangle of boxes, // i.e. contiguous cells in contiguous rows |