summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8scan.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/ww8scan.cxx')
-rw-r--r--sw/source/filter/ww8/ww8scan.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx
index dfe1b5df6234..efe00fa0ba0f 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -5358,19 +5358,19 @@ bool WW8Fib::GetBaseCp(ManTypes nType, WW8_CP * cp) const
default:
case MAN_TXBX_HDFT:
nOffset = ccpTxbx;
- // fall through
+ SAL_FALLTHROUGH;
case MAN_TXBX:
if (ccpEdn > std::numeric_limits<WW8_CP>::max() - nOffset) {
return false;
}
nOffset += ccpEdn;
- // fall through
+ SAL_FALLTHROUGH;
case MAN_EDN:
if (ccpAtn > std::numeric_limits<WW8_CP>::max() - nOffset) {
return false;
}
nOffset += ccpAtn;
- // fall through
+ SAL_FALLTHROUGH;
case MAN_AND:
if (ccpMcr > std::numeric_limits<WW8_CP>::max() - nOffset) {
return false;
@@ -5389,19 +5389,19 @@ bool WW8Fib::GetBaseCp(ManTypes nType, WW8_CP * cp) const
return false;
}
nOffset += ccpHdr;
- // fall through
+ SAL_FALLTHROUGH;
case MAN_HDFT:
if (ccpFootnote > std::numeric_limits<WW8_CP>::max() - nOffset) {
return false;
}
nOffset += ccpFootnote;
- // fall through
+ SAL_FALLTHROUGH;
case MAN_FTN:
if (ccpText > std::numeric_limits<WW8_CP>::max() - nOffset) {
return false;
}
nOffset += ccpText;
- // fall through
+ SAL_FALLTHROUGH;
case MAN_MAINTEXT:
break;
}