From 35abd488794516478400afc3d9f68593006234e5 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Tue, 1 Dec 2020 04:33:02 +0000 Subject: [PATCH] okular: remove redundant break statements in ExportFormat::standardFormat() Signed-off-by: Ivailo Monev --- okular/core/generator.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/okular/core/generator.cpp b/okular/core/generator.cpp index 97b79292..4473513b 100644 --- a/okular/core/generator.cpp +++ b/okular/core/generator.cpp @@ -627,19 +627,15 @@ ExportFormat ExportFormat::standardFormat( StandardExportFormat type ) { case PlainText: return ExportFormat( KIcon( "text-x-generic" ), i18n( "Plain &Text..." ), KMimeType::mimeType( "text/plain" ) ); - break; case PDF: return ExportFormat( KIcon( "application-pdf" ), i18n( "PDF" ), KMimeType::mimeType( "application/pdf" ) ); - break; case OpenDocumentText: return ExportFormat( KIcon( "application-vnd.oasis.opendocument.text" ), i18nc( "This is the document format", "OpenDocument Text" ), KMimeType::mimeType( "application/vnd.oasis.opendocument.text" ) ); - break; case HTML: return ExportFormat( KIcon( "text-html" ), i18nc( "This is the document format", "HTML" ), KMimeType::mimeType( "text/html" ) ); - break; } return ExportFormat(); } -- 2.11.0