diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-02-04 18:10:03 +0100 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-02-05 10:48:38 +0100 |
commit | 07eb648d82a4a26b4b6c7fa78aa2d22ccbd0593d (patch) | |
tree | 7c3ab24c9d2cb131c72d88f8cbde8ab85c33d690 | |
parent | a468e386695f470f65616adde4673aa43a562c51 (diff) |
Remove some extra break
Change-Id: I55405c748d67101ecef8ef8a52037a26bc52b9f6
-rw-r--r-- | filter/source/msfilter/escherex.cxx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index 293aead70e2b..6a8ea7fdd1f0 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -1961,8 +1961,10 @@ PolyPolygon EscherPropertyContainer::GetPolyPolygon( const ::com::sun::star::uno switch( aSegments[ j ].Command ) { case drawing::EnhancedCustomShapeSegmentCommand::UNKNOWN: break; - case drawing::EnhancedCustomShapeSegmentCommand::MOVETO : nPointIndex++; break; - case drawing::EnhancedCustomShapeSegmentCommand::LINETO : nPointIndex++; break; + case drawing::EnhancedCustomShapeSegmentCommand::MOVETO : + case drawing::EnhancedCustomShapeSegmentCommand::LINETO : + nPointIndex++; + break; case drawing::EnhancedCustomShapeSegmentCommand::CURVETO : { aPolygon.SetFlags( nPointIndex, POLY_CONTROL); @@ -1994,10 +1996,10 @@ PolyPolygon EscherPropertyContainer::GetPolyPolygon( const ::com::sun::star::uno case drawing::EnhancedCustomShapeSegmentCommand::ARCANGLETO : nPointIndex += 2; break; - case drawing::EnhancedCustomShapeSegmentCommand::DARKEN : break; - case drawing::EnhancedCustomShapeSegmentCommand::DARKENLESS : break; - case drawing::EnhancedCustomShapeSegmentCommand::LIGHTEN : break; - case drawing::EnhancedCustomShapeSegmentCommand::LIGHTENLESS : break; + case drawing::EnhancedCustomShapeSegmentCommand::DARKEN : + case drawing::EnhancedCustomShapeSegmentCommand::DARKENLESS : + case drawing::EnhancedCustomShapeSegmentCommand::LIGHTEN : + case drawing::EnhancedCustomShapeSegmentCommand::LIGHTENLESS : break; } } |