Kaydet (Commit) 2e9ad89e authored tarafından Michael Stahl's avatar Michael Stahl

sw: -Wimplicit-fallthrough from MacOS clang (or perhaps NDEBUG clang?)

Change-Id: I0219a0f6438c58b3f3307efe0b62d2a40ef281e4
üst 4ce5d396
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment