summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/undo/undoblk.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/undo/undoblk.cxx b/sc/source/ui/undo/undoblk.cxx
index 8379d46b83c0..766069ccfdf2 100644
--- a/sc/source/ui/undo/undoblk.cxx
+++ b/sc/source/ui/undo/undoblk.cxx
@@ -231,6 +231,7 @@ void ScUndoInsertCells::DoChange( const bool bUndo )
case INS_INSCOLS_BEFORE:
case INS_INSCOLS_AFTER:
nPaint |= PAINT_TOP; // top bar
+ SAL_FALLTHROUGH;
case INS_CELLSRIGHT:
for( i=0; i<nCount; i++ )
{
@@ -464,6 +465,7 @@ void ScUndoDeleteCells::DoChange( const bool bUndo )
break;
case DEL_DELCOLS:
nPaint |= PAINT_TOP; // top bar
+ SAL_FALLTHROUGH;
case DEL_CELLSLEFT:
for( i=0; i<nCount; i++ )
{