summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/SearchResultLocator.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2021-08-25 20:16:57 +0900
committerTomaž Vajngerl <quikee@gmail.com>2021-08-26 04:47:01 +0200
commit0b698aa6eb26d75ca4baf677a461aee095f69317 (patch)
tree74c45ae224b31919a97fc6e5f307df5a996c06ee /sw/source/core/inc/SearchResultLocator.hxx
parent0484630164275e2828f1420b055f05e94b8c73ee (diff)
indexing: move xml parsing into SearchResultLocator
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 <quikee@gmail.com>
Diffstat (limited to 'sw/source/core/inc/SearchResultLocator.hxx')
-rw-r--r--sw/source/core/inc/SearchResultLocator.hxx2
1 files changed, 2 insertions, 0 deletions
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<SearchIndexData> const& rSearchIndexDataVector);
+
+ LocationResult findForPayload(const char* pPayload);
};
} // end sw namespace