From 23ac04c1c890c2d026cd422bec8558b5a14650f0 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Thu, 16 Dec 2021 11:07:46 +0100 Subject: Removed break; after return Change-Id: I4dff60b9b24b60d58ddd174c7dcb222b4ca26224 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126912 Tested-by: Jenkins Reviewed-by: Julien Nabet --- vcl/source/filter/svm/SvmReader.cxx | 54 ------------------------------------- 1 file changed, 54 deletions(-) (limited to 'vcl') diff --git a/vcl/source/filter/svm/SvmReader.cxx b/vcl/source/filter/svm/SvmReader.cxx index 284a9a8e5935..322484ce4693 100644 --- a/vcl/source/filter/svm/SvmReader.cxx +++ b/vcl/source/filter/svm/SvmReader.cxx @@ -160,166 +160,112 @@ rtl::Reference SvmReader::MetaActionHandler(ImplMetaReadData* pData) { case MetaActionType::NONE: return DefaultHandler(); - break; case MetaActionType::PIXEL: return PixelHandler(); - break; case MetaActionType::POINT: return PointHandler(); - break; case MetaActionType::LINE: return LineHandler(); - break; case MetaActionType::RECT: return RectHandler(); - break; case MetaActionType::ROUNDRECT: return RoundRectHandler(); - break; case MetaActionType::ELLIPSE: return EllipseHandler(); - break; case MetaActionType::ARC: return ArcHandler(); - break; case MetaActionType::PIE: return PieHandler(); - break; case MetaActionType::CHORD: return ChordHandler(); - break; case MetaActionType::POLYLINE: return PolyLineHandler(); - break; case MetaActionType::POLYGON: return PolygonHandler(); - break; case MetaActionType::POLYPOLYGON: return PolyPolygonHandler(); - break; case MetaActionType::TEXT: return TextHandler(pData); - break; case MetaActionType::TEXTARRAY: return TextArrayHandler(pData); - break; case MetaActionType::STRETCHTEXT: return StretchTextHandler(pData); - break; case MetaActionType::TEXTRECT: return TextRectHandler(pData); - break; case MetaActionType::TEXTLINE: return TextLineHandler(); - break; case MetaActionType::BMP: return BmpHandler(); - break; case MetaActionType::BMPSCALE: return BmpScaleHandler(); - break; case MetaActionType::BMPSCALEPART: return BmpScalePartHandler(); - break; case MetaActionType::BMPEX: return BmpExHandler(); - break; case MetaActionType::BMPEXSCALE: return BmpExScaleHandler(); - break; case MetaActionType::BMPEXSCALEPART: return BmpExScalePartHandler(); - break; case MetaActionType::MASK: return MaskHandler(); - break; case MetaActionType::MASKSCALE: return MaskScaleHandler(); - break; case MetaActionType::MASKSCALEPART: return MaskScalePartHandler(); - break; case MetaActionType::GRADIENT: return GradientHandler(); - break; case MetaActionType::GRADIENTEX: return GradientExHandler(); - break; case MetaActionType::HATCH: return HatchHandler(); - break; case MetaActionType::WALLPAPER: return WallpaperHandler(); - break; case MetaActionType::CLIPREGION: return ClipRegionHandler(); - break; case MetaActionType::ISECTRECTCLIPREGION: return ISectRectClipRegionHandler(); - break; case MetaActionType::ISECTREGIONCLIPREGION: return ISectRegionClipRegionHandler(); - break; case MetaActionType::MOVECLIPREGION: return MoveClipRegionHandler(); - break; case MetaActionType::LINECOLOR: return LineColorHandler(); - break; case MetaActionType::FILLCOLOR: return FillColorHandler(); - break; case MetaActionType::TEXTCOLOR: return TextColorHandler(); - break; case MetaActionType::TEXTFILLCOLOR: return TextFillColorHandler(); - break; case MetaActionType::TEXTLINECOLOR: return TextLineColorHandler(); - break; case MetaActionType::OVERLINECOLOR: return OverlineColorHandler(); - break; case MetaActionType::TEXTALIGN: return TextAlignHandler(); - break; case MetaActionType::MAPMODE: return MapModeHandler(); - break; case MetaActionType::FONT: return FontHandler(pData); - break; case MetaActionType::PUSH: return PushHandler(); - break; case MetaActionType::POP: return PopHandler(); - break; case MetaActionType::RASTEROP: return RasterOpHandler(); - break; case MetaActionType::Transparent: return TransparentHandler(); - break; case MetaActionType::FLOATTRANSPARENT: return FloatTransparentHandler(pData); - break; case MetaActionType::EPS: return EPSHandler(); - break; case MetaActionType::REFPOINT: return RefPointHandler(); - break; case MetaActionType::COMMENT: return CommentHandler(); - break; case MetaActionType::LAYOUTMODE: return LayoutModeHandler(); - break; case MetaActionType::TEXTLANGUAGE: return TextLanguageHandler(); - break; default: { -- cgit