summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/undoblk.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/undo/undoblk.cxx')
-rw-r--r--sc/source/ui/undo/undoblk.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/undo/undoblk.cxx b/sc/source/ui/undo/undoblk.cxx
index e2862e5b3294..5d66cc393150 100644
--- a/sc/source/ui/undo/undoblk.cxx
+++ b/sc/source/ui/undo/undoblk.cxx
@@ -246,7 +246,7 @@ void ScUndoInsertCells::DoChange( const bool bUndo )
case INS_INSCOLS_BEFORE:
case INS_INSCOLS_AFTER:
nPaint |= PaintPartFlags::Top; // top bar
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case INS_CELLSRIGHT:
for( i=0; i<nCount; i++ )
{
@@ -504,7 +504,7 @@ void ScUndoDeleteCells::DoChange( const bool bUndo )
break;
case DelCellCmd::Cols:
nPaint |= PaintPartFlags::Top; // top bar
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case DelCellCmd::CellsLeft:
for( i=0; i<nCount; i++ )
{