summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2016-02-15 09:29:24 +0100
committerDavid Tardon <dtardon@redhat.com>2016-02-15 10:59:13 +0000
commit4db6402917bb5aecfb2bfc5fcd093abbb79a8ed3 (patch)
treedf71caedd8554452c0a04f666ecfd19d9a8505fd /writerperfect
parent24c20f1e1689fcae39c1b9809f107e8f7425944e (diff)
upload libwps 0.4.3
Change-Id: I4f147c3d55de86eb4bd56bb4c728df19c925b376 Reviewed-on: https://gerrit.libreoffice.org/22366 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/qa/unit/WpftWriterFilterTest.cxx1
-rw-r--r--writerperfect/qa/unit/data/writer/libwps/pass/Word_5.0_DOS.docbin0 -> 7168 bytes
-rw-r--r--writerperfect/source/writer/MSWorksImportFilter.cxx1
3 files changed, 2 insertions, 0 deletions
diff --git a/writerperfect/qa/unit/WpftWriterFilterTest.cxx b/writerperfect/qa/unit/WpftWriterFilterTest.cxx
index 9e8bd02c0b3e..99a6ab188222 100644
--- a/writerperfect/qa/unit/WpftWriterFilterTest.cxx
+++ b/writerperfect/qa/unit/WpftWriterFilterTest.cxx
@@ -47,6 +47,7 @@ void WpftWriterFilterTest::test()
};
const writerperfect::test::WpftOptionalMap_t aWpsOptional
{
+ {"Word_5.0_DOS.doc", REQUIRE_WPS_VERSION(0, 4, 3)},
{"Write_3.1.wri", REQUIRE_WPS_VERSION(0, 4, 2)},
};
diff --git a/writerperfect/qa/unit/data/writer/libwps/pass/Word_5.0_DOS.doc b/writerperfect/qa/unit/data/writer/libwps/pass/Word_5.0_DOS.doc
new file mode 100644
index 000000000000..5e5e45912136
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwps/pass/Word_5.0_DOS.doc
Binary files differ
diff --git a/writerperfect/source/writer/MSWorksImportFilter.cxx b/writerperfect/source/writer/MSWorksImportFilter.cxx
index 06d2474467a4..b08ddb3c08dd 100644
--- a/writerperfect/source/writer/MSWorksImportFilter.cxx
+++ b/writerperfect/source/writer/MSWorksImportFilter.cxx
@@ -92,6 +92,7 @@ bool MSWorksImportFilter::doDetectFormat(librevenge::RVNGInputStream &rInput, OU
}
else
{
+ // NOTE: this handles MS Word for DOS too ATM
rTypeName = "writer_MS_Write";
}
return true;