diff --git a/generators/poppler/generator_pdf.cpp b/generators/poppler/generator_pdf.cpp index eedde677a..146e2d38c 100644 --- a/generators/poppler/generator_pdf.cpp +++ b/generators/poppler/generator_pdf.cpp @@ -844,7 +844,7 @@ Okular::ExportFormat::List PDFGenerator::exportFormats() const { static Okular::ExportFormat::List formats; if ( formats.isEmpty() ) { - formats.append( Okular::ExportFormat( i18n( "Plain Text" ), KMimeType::mimeType( "text/plain" ) ) ); + formats.append( Okular::ExportFormat::plainText() ); } return formats; diff --git a/generators/xps/generator_xps.cpp b/generators/xps/generator_xps.cpp index ebfd9193d..82725f139 100644 --- a/generators/xps/generator_xps.cpp +++ b/generators/xps/generator_xps.cpp @@ -1385,7 +1385,7 @@ Okular::ExportFormat::List XpsGenerator::exportFormats() const { static Okular::ExportFormat::List formats; if ( formats.isEmpty() ) { - formats.append( Okular::ExportFormat( i18n( "Plain Text" ), KMimeType::mimeType( "text/plain" ) ) ); + formats.append( Okular::ExportFormat::plainText() ); } return formats; }