diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-08-13 12:54:18 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-08-13 13:12:54 +0200 |
commit | 1cb2573cd3a7082e68aae03779f9bc08d9d13d8c (patch) | |
tree | 2663d49e4661bf790318417a64068a97acffbd39 /sw/qa | |
parent | 947edda9871881161d2b59d7b041156a03cd47fd (diff) |
DOCX export: write qFormat for style names having an STI number
Change-Id: I1f1bf0cf14bbd7b6253489f27753bdb2ec81fe35
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx index 6cd31bc80310..2d47c8cbcc7f 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx @@ -341,6 +341,9 @@ DECLARE_OOXMLEXPORT_TEST(testTable, "table.odt") int nInsideV = getXPathPosition(pXmlDoc, "/w:document/w:body/w:tbl/w:tblPr/w:tblBorders", "insideV"); CPPUNIT_ASSERT(nEnd < nInsideH); CPPUNIT_ASSERT(nInsideH < nInsideV); + + // Make sure we write qFormat for well-known style names. + assertXPath(parseExport("word/styles.xml"), "//w:style[@w:styleId='Normal']/w:qFormat", 1); } DECLARE_OOXMLEXPORT_TEST(testTablePosition, "table-position.docx") |