sw/source/core/fields/reffld.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 2e9ad89ee9c4f062b6e257548338b9e4c459f820 Author: Michael Stahl <michael.st...@cib.de> AuthorDate: Thu Nov 15 18:22:03 2018 +0100 Commit: Michael Stahl <michael.st...@cib.de> CommitDate: Thu Nov 15 18:23:53 2018 +0100 sw: -Wimplicit-fallthrough from MacOS clang (or perhaps NDEBUG clang?) Change-Id: I0219a0f6438c58b3f3307efe0b62d2a40ef281e4 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits