sc/source/core/data/column3.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit cda59e72ea7dbd904012ff377588d71ea8c4a2bc
Author:     Eike Rathke <er...@redhat.com>
AuthorDate: Tue May 16 17:56:14 2023 +0200
Commit:     Eike Rathke <er...@redhat.com>
CommitDate: Tue May 16 19:42:14 2023 +0200

    Remove nonsense OSL_ENSURE()
    
    Apparently a legacy leftover; it's perfectly valid to remove
    EDITATTR along with CONTENTS, i.e. in Cut.
    
    Change-Id: I10010e1fc98b5e5863d041d72ddf78d499a0ec45
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151846
    Reviewed-by: Eike Rathke <er...@redhat.com>
    Tested-by: Jenkins

diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index 9c035b3b44d0..f615a02e94c3 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -1137,7 +1137,6 @@ void ScColumn::DeleteArea(
 
     if ( nDelFlag & InsertDeleteFlags::EDITATTR )
     {
-        OSL_ENSURE( nContFlag == InsertDeleteFlags::NONE, "DeleteArea: Wrong 
Flags" );
         RemoveEditAttribs(aBlockPos, nStartRow, nEndRow);
     }
 

Reply via email to