use the new Okular::ExportFormat::plainText()

svn path=/trunk/playground/graphics/okular/; revision=641321
remotes/origin/KDE/4.0
Pino Toscano 19 years ago
parent 2ef46f8d90
commit 3507d4e68f
  1. 2
      generators/poppler/generator_pdf.cpp
  2. 2
      generators/xps/generator_xps.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;

@ -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;
}

Loading…
Cancel
Save