summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2021-09-07 15:40:42 +0900
committerTomaž Vajngerl <quikee@gmail.com>2021-09-08 06:58:07 +0200
commit83da70de985e1f9f7193676bef8dc71226803bb0 (patch)
tree82e077ff35e11873877b805361a27125ac099a45 /desktop
parenteac288d02cafc49c5a14fa27bb449c33eb4b1803 (diff)
indexing: rename "type" for prargraph an object nodes
They are conflicting, so rename the one for paragraphs to "node_type and the one for objects to "object_type". This needs adusting all the tests. Also change the node_type from numerical value (correcponding to a enum) to string based - "writer" or "commom" values. Change-Id: I0465cd4c2c6989e436d5a675db20c87066d19208 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121743 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/qa/desktop_lib/test_desktop_lib.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx
index 85e09ab13a51..28a5e76a6e1e 100644
--- a/desktop/qa/desktop_lib/test_desktop_lib.cxx
+++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx
@@ -3119,7 +3119,7 @@ void DesktopLOKTest::testRenderSearchResult()
unsigned char* pBuffer = nullptr;
OString aPayload =
"<indexing>"
- "<paragraph type=\"1\" index=\"19\">ABC</paragraph>"
+ "<paragraph node_type=\"writer\" index=\"19\">ABC</paragraph>"
"</indexing>";
int nWidth = 0;