summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-10 17:09:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-10 17:09:14 +0200
commit7a8b384271d947248430cfb189165fc64cdbec0c (patch)
treec08719cb3381246ee79fa3cd32b59351f62f0254 /sc/source/ui/undo
parentbdacf96e3a52c30675c6cc0cbe037870cbeb4dda (diff)
Add SAL_FALLTHROUGH, where apparently appropriate
Change-Id: Id0470b3e60a455bc3807f4fa5da98cf5f1877d00
Diffstat (limited to 'sc/source/ui/undo')
-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++ )
{