summaryrefslogtreecommitdiff
path: root/sw/source/core/fields/reffld.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/fields/reffld.cxx')
-rw-r--r--sw/source/core/fields/reffld.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/fields/reffld.cxx b/sw/source/core/fields/reffld.cxx
index dadce67ae675..c62300e8ece9 100644
--- a/sw/source/core/fields/reffld.cxx
+++ b/sw/source/core/fields/reffld.cxx
@@ -560,7 +560,7 @@ void SwGetRefField::UpdateField( const SwTextField* pFieldTextAttr )
default:
assert(false); // fall through to appease MSVC C4701
#ifdef NDEBUG
- SAL_FALLTHROUGH;
+ [[fallthrough]];
#endif
// "Reference" (whole Text)
case REF_CONTENT:
@@ -604,7 +604,7 @@ void SwGetRefField::UpdateField( const SwTextField* pFieldTextAttr )
default:
assert(false); // fall through to appease MSVC C4701
#ifdef NDEBUG
- SAL_FALLTHROUGH;
+ [[fallthrough]];
#endif
case REF_SETREFATTR:
nStart = nNumStart;