diff options
author | osnola <alonso@loria.fr> | 2018-04-30 15:25:24 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2018-05-01 07:59:04 +0200 |
commit | d324ed83fa6941f5408402d7ab0ec65f5c18d1d2 (patch) | |
tree | 9dc4e227175c66da6cd01eea931dcaedf838fcda /writerperfect/source | |
parent | 8a2745e1beee722c8c9691c397e493cc1160bedf (diff) |
tdf#117323 fix import of MS Multiplan for DOS
Change-Id: Ica053852c17ac993b4e50c4c58dbaf2ee4f33035
Diffstat (limited to 'writerperfect/source')
-rw-r--r-- | writerperfect/source/calc/MSWorksCalcImportFilter.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx index 04dcffcdac48..969f0e0b4417 100644 --- a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx +++ b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx @@ -210,11 +210,16 @@ bool MSWorksCalcImportFilter::doImportDocument(librevenge::RVNGInputStream& rInp title = WpResId(STR_ENCODING_DIALOG_TITLE_SYMPHONY); encoding = "CP437"; } - else + else if (creator == libwps::WPS_QUATTRO_PRO) { title = WpResId(STR_ENCODING_DIALOG_TITLE_QUATTROPRO); encoding = "CP437"; } + else + { + title = WpResId(STR_ENCODING_DIALOG_TITLE_MSMULTIPLAN); + encoding = "CP437"; + } try { const ScopedVclPtrInstance<writerperfect::WPFTEncodingDialog> pDlg(title, encoding); |