diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-08-02 15:18:35 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-08-10 08:09:05 +0200 |
commit | df3d733724de84a2b54398434b621049a326c4d8 (patch) | |
tree | 7e5386cbe3849ca90177b20169d026f119ebf1ab /sw/qa/extras/indexing | |
parent | ea1818b8ba34378b777b8706069d28fade2cc924 (diff) |
indexing: add "type" to the xml for paragraph nodes
The type is either WriterNode (1) or SdrObect (2) as we need to
know for which one the index is refering to.
Change-Id: I0f4bc95d91e37cf75db5ed49cd14df61133f5f19
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120193
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sw/qa/extras/indexing')
-rw-r--r-- | sw/qa/extras/indexing/IndexingExportTest.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/qa/extras/indexing/IndexingExportTest.cxx b/sw/qa/extras/indexing/IndexingExportTest.cxx index 41cbfa1c9d79..346ff783d2c4 100644 --- a/sw/qa/extras/indexing/IndexingExportTest.cxx +++ b/sw/qa/extras/indexing/IndexingExportTest.cxx @@ -74,6 +74,7 @@ void IndexingExportTest::testIndexingExport_Paragraphs() assertXPath(pXmlDoc, "/indexing"); assertXPathContent(pXmlDoc, "/indexing/paragraph[1]", "Title"); + assertXPath(pXmlDoc, "/indexing/paragraph[1]", "type", "1"); assertXPathContent(pXmlDoc, "/indexing/paragraph[2]", "Heading 1"); assertXPathContent(pXmlDoc, "/indexing/paragraph[3]", "Heading 2"); assertXPathContent(pXmlDoc, "/indexing/paragraph[4]", "Paragraph 1"); |