From 6e581cc2515aeb4d19cda2a523598045b3ce3201 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 4 Jun 2014 13:17:13 +0100 Subject: [PATCH] coverity#705172 Missing break in switch Change-Id: I23663877212be93bffe16edfa4b0bb70c8ef5e2e --- filter/source/msfilter/svdfppt.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index 0c97eb336d46..e2fe2d830759 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -738,8 +738,11 @@ SdrObject* SdrEscherImport::ProcessObj( SvStream& rSt, DffObjData& rObjData, voi switch ( aPlaceholderAtom.nPlaceholderId ) { case PPT_PLACEHOLDER_MASTERSLIDENUMBER : nHeaderFooterInstance++; + // fall-through case PPT_PLACEHOLDER_MASTERFOOTER : nHeaderFooterInstance++; + // fall-through case PPT_PLACEHOLDER_MASTERHEADER : nHeaderFooterInstance++; + // fall-through case PPT_PLACEHOLDER_MASTERDATE : nHeaderFooterInstance++; break; } if ( ! ( nHeaderFooterInstance & 0xfffc ) ) // is this a valid instance ( 0->3 )