diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-11-15 18:22:03 +0100 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-11-15 18:23:53 +0100 |
commit | 2e9ad89ee9c4f062b6e257548338b9e4c459f820 (patch) | |
tree | 8a5cfa49976fc8c70ca66a3e522d7fa6efb86e18 /sw | |
parent | 4ce5d39689fda418e8f2d7d9c1124190b2cbad7a (diff) |
sw: -Wimplicit-fallthrough from MacOS clang (or perhaps NDEBUG clang?)
Change-Id: I0219a0f6438c58b3f3307efe0b62d2a40ef281e4
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/fields/reffld.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/fields/reffld.cxx b/sw/source/core/fields/reffld.cxx index df52dd04bad0..bdeb3f9f42b8 100644 --- a/sw/source/core/fields/reffld.cxx +++ b/sw/source/core/fields/reffld.cxx @@ -559,6 +559,7 @@ void SwGetRefField::UpdateField( const SwTextField* pFieldTextAttr ) default: assert(false); // fall through to appease MSVC C4701 + SAL_FALLTHROUGH; // "Reference" (whole Text) case REF_CONTENT: nStart = 0; @@ -600,6 +601,7 @@ void SwGetRefField::UpdateField( const SwTextField* pFieldTextAttr ) default: assert(false); // fall through to appease MSVC C4701 + SAL_FALLTHROUGH; case REF_SETREFATTR: nStart = nNumStart; nEnd = nNumEnd; |