diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-25 11:06:46 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-05-26 08:30:44 +0000 |
commit | 064b29e381dc48c5fcad027549159bdaeaa49c80 (patch) | |
tree | f03bcb30f9405391f0989a847482232582dc62ff /sw/qa/extras | |
parent | 5ad8c6c313f3d540f93742e9308a2773937b3120 (diff) |
fix assert on export of ooo40760-1.sxw to docx
and a pile more
Change-Id: I7334233c789bb0ed7a60387ef7d84dd34ab5a187
(cherry picked from commit 3185b6c8caf97afa602c864f588d079cbbe04038)
Reviewed-on: https://gerrit.libreoffice.org/15891
Tested-by: David Tardon <dtardon@redhat.com>
Reviewed-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'sw/qa/extras')
-rw-r--r-- | sw/qa/extras/ooxmlexport/data/hyperlink-field.odt | bin | 0 -> 15543 bytes | |||
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport5.cxx | 8 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlexport/data/hyperlink-field.odt b/sw/qa/extras/ooxmlexport/data/hyperlink-field.odt Binary files differnew file mode 100644 index 000000000000..0c265cf71855 --- /dev/null +++ b/sw/qa/extras/ooxmlexport/data/hyperlink-field.odt diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx index 20e3a00a3309..4b1a79ed5f9a 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx @@ -230,6 +230,14 @@ DECLARE_OOXMLEXPORT_TEST(testFloatingTable, "fdo77887.docx") } +DECLARE_OOXMLEXPORT_TEST(testHyperlinkContainingPlaceholderField, "hyperlink-field.odt") +{ + xmlDocPtr pXmlDoc = parseExport("word/document.xml"); + + if (!pXmlDoc) + return; +} + DECLARE_OOXMLEXPORT_TEST(testTablePreferredWidth, "tablePreferredWidth.docx") { xmlDocPtr pXmlDoc = parseExport("word/document.xml"); |