From c5fd63966e689b55b271d2d76860ed471eacdc74 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Tue, 29 Oct 2013 07:53:45 +0100 Subject: [PATCH] cppcheck: duplicate break or break which follows a return Change-Id: I0985d28289e31969cb9b048b221abfae1572025d --- oox/source/drawingml/textbodycontext.cxx | 1 - starmath/source/unomodel.cxx | 1 - 2 files changed, 2 deletions(-) diff --git a/oox/source/drawingml/textbodycontext.cxx b/oox/source/drawingml/textbodycontext.cxx index 415bddf28b7f9..80e5657263b7f 100644 --- a/oox/source/drawingml/textbodycontext.cxx +++ b/oox/source/drawingml/textbodycontext.cxx @@ -134,7 +134,6 @@ ContextHandlerRef RegularTextRunContext::onCreateContext( sal_Int32 aElementToke { case A_TOKEN( rPr ): // "CT_TextCharPropertyBag" The text char properties of this text run. return new TextCharacterPropertiesContext( *this, rAttribs, mpRunPtr->getTextCharacterProperties() ); - break; case A_TOKEN( t ): // "xsd:string" minOccurs="1" The actual text string. mbIsInText = true; break; diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index bc802e8e103a2..6e5391c5bbfcb 100644 --- a/starmath/source/unomodel.cxx +++ b/starmath/source/unomodel.cxx @@ -949,7 +949,6 @@ void SmModel::_getPropertyValues( const PropertyMapEntry **ppEntries, Any *pValu case HANDLE_INTEROP_GRAB_BAG: getGrabBagItem(*pValue); break; - break; } } }