From 0b698aa6eb26d75ca4baf677a461aee095f69317 Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Wed, 25 Aug 2021 20:16:57 +0900 Subject: indexing: move xml parsing into SearchResultLocator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Let's keep unneeded complexity out of SwXTextDocument, so move parsing into SearchResultLocator. As a bonus we can now test parsing. Change-Id: I944bfc43e6953523eee19b26b7f483aa401809aa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121032 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- sw/source/core/inc/SearchResultLocator.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sw/source/core/inc/SearchResultLocator.hxx') diff --git a/sw/source/core/inc/SearchResultLocator.hxx b/sw/source/core/inc/SearchResultLocator.hxx index cd1b2e4bb5e5..7dac632ae58f 100644 --- a/sw/source/core/inc/SearchResultLocator.hxx +++ b/sw/source/core/inc/SearchResultLocator.hxx @@ -58,6 +58,8 @@ public: } LocationResult find(std::vector const& rSearchIndexDataVector); + + LocationResult findForPayload(const char* pPayload); }; } // end sw namespace -- cgit v1.2.3