From d324ed83fa6941f5408402d7ab0ec65f5c18d1d2 Mon Sep 17 00:00:00 2001 From: osnola Date: Mon, 30 Apr 2018 15:25:24 +0200 Subject: tdf#117323 fix import of MS Multiplan for DOS Change-Id: Ica053852c17ac993b4e50c4c58dbaf2ee4f33035 --- writerperfect/source/calc/MSWorksCalcImportFilter.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'writerperfect/source') 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 pDlg(title, encoding); -- cgit