mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-23 18:32:53 +00:00
okular: remove redundant break statements in ExportFormat::standardFormat()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
e2387fff2a
commit
35abd48879
1 changed files with 0 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue