coverity#705172 Missing break in switch

Change-Id: I23663877212be93bffe16edfa4b0bb70c8ef5e2e
This commit is contained in:
Caolán McNamara
2014-06-04 13:17:13 +01:00
parent b2c987f1a7
commit 6e581cc251

View File

@@ -738,8 +738,11 @@ SdrObject* SdrEscherImport::ProcessObj( SvStream& rSt, DffObjData& rObjData, voi
switch ( aPlaceholderAtom.nPlaceholderId ) switch ( aPlaceholderAtom.nPlaceholderId )
{ {
case PPT_PLACEHOLDER_MASTERSLIDENUMBER : nHeaderFooterInstance++; case PPT_PLACEHOLDER_MASTERSLIDENUMBER : nHeaderFooterInstance++;
// fall-through
case PPT_PLACEHOLDER_MASTERFOOTER : nHeaderFooterInstance++; case PPT_PLACEHOLDER_MASTERFOOTER : nHeaderFooterInstance++;
// fall-through
case PPT_PLACEHOLDER_MASTERHEADER : nHeaderFooterInstance++; case PPT_PLACEHOLDER_MASTERHEADER : nHeaderFooterInstance++;
// fall-through
case PPT_PLACEHOLDER_MASTERDATE : nHeaderFooterInstance++; break; case PPT_PLACEHOLDER_MASTERDATE : nHeaderFooterInstance++; break;
} }
if ( ! ( nHeaderFooterInstance & 0xfffc ) ) // is this a valid instance ( 0->3 ) if ( ! ( nHeaderFooterInstance & 0xfffc ) ) // is this a valid instance ( 0->3 )