summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2013-10-17 18:47:36 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-10-17 19:03:36 +0200
commit8e434a45c2f8bee39d9a70fbe2707d8a144ac790 (patch)
tree00423a0ae6426c90fd06d84909ec4842cbfa1d1f /sw/qa
parentc450aafad00da4553fc6f7abadb19b4b16df6b88 (diff)
MSWordStyles: initial DOCX export of list styles
Change-Id: I96522b72de1e0322229105c24913ed011b28d170
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
index 962f09b86258..64e4c0660284 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
@@ -1372,9 +1372,6 @@ void Test::testCharacterBorder()
void Test::testStyleInheritance()
{
- // This document has several issues to fix, more checks will be here to
- // test its various aspects
-
// Check that now styleId's are more like what MSO produces
xmlDocPtr pXmlStyles = parseExport("word/styles.xml");
// the 1st style always must be Normal
@@ -1440,6 +1437,9 @@ void Test::testStyleInheritance()
if (aLatentStyleException[i].Name == "name")
aName = aLatentStyleException[i].Value.get<OUString>();
CPPUNIT_ASSERT_EQUAL(OUString("Normal"), aName); // This checks the "name" attribute of the first exception.
+
+ // This numbering style wasn't roundtripped.
+ assertXPath(pXmlStyles, "/w:styles/w:style[@w:styleId='NoList']/w:name", "val", "No List");
}
void Test::testSmartart()