diff options
author | Radu Ioan <ioan.radu.g@gmail.com> | 2015-04-04 19:03:35 +0300 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-05-01 22:01:53 +0000 |
commit | 480ca7434a330b2678f9ef287cffd6d9cf27bed5 (patch) | |
tree | 9b3bdb2b00734a63c43354e62d5880d88ea9d086 /sw/qa | |
parent | 861a86dfca00bc42b57d70621605d5831e6305a5 (diff) |
tdf#89790 - DOCX: saving LO version number in correct tag in app.xml
Converted existing method that provides application name and version in two functions
Change-Id: I93b70da7c78ee5db3d6eb710a2a2a9f4b7b4fb86
Reviewed-on: https://gerrit.libreoffice.org/15151
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/extras/ooxmlexport/data/tdf89790.docx | bin | 0 -> 4673 bytes | |||
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport5.cxx | 7 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlexport/data/tdf89790.docx b/sw/qa/extras/ooxmlexport/data/tdf89790.docx Binary files differnew file mode 100644 index 000000000000..180951e854e9 --- /dev/null +++ b/sw/qa/extras/ooxmlexport/data/tdf89790.docx diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx index 6964c90a07aa..89a1502ba6ec 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx @@ -795,6 +795,13 @@ DECLARE_OOXMLEXPORT_TEST(testSectionHeader, "sectionprot.odt") } } +DECLARE_OOXMLEXPORT_TEST(testTdf89790, "tdf89790.docx") +{ + if (xmlDocPtr pXmlDoc = parseExport("docProps/app.xml")) + + assertXPath(pXmlDoc, "/extended-properties:Properties/extended-properties:AppVersion"); +} + CPPUNIT_PLUGIN_IMPLEMENT(); /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |