summaryrefslogtreecommitdiff
path: root/include/unotools
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2018-10-31 15:48:38 +0300
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-01 08:34:50 +0100
commite9b06dd9458074af36b0fc97ff41ed4c79e5de32 (patch)
tree758094ad1833d68d6cdd9dea30d861a615b3a3cc /include/unotools
parent53bc3b618b5a97702a54d3aa4dbf7853d8980a5d (diff)
tdf#112614: Include all labels in the search in Customize dialog
For uno commands Change-Id: Ide7a30387b0ec354cd0d42ba11c78e115ec94989 Reviewed-on: https://gerrit.libreoffice.org/62693 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/unotools')
-rw-r--r--include/unotools/textsearch.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/unotools/textsearch.hxx b/include/unotools/textsearch.hxx
index 2d609fe99ec0..396ecf294b38 100644
--- a/include/unotools/textsearch.hxx
+++ b/include/unotools/textsearch.hxx
@@ -202,6 +202,13 @@ public:
bool SearchForward( const OUString &rStr,
sal_Int32* pStart, sal_Int32* pEnd,
css::util::SearchResult* pRes = nullptr );
+ /**
+ * @brief searchForward Search forward beginning from the start to the end
+ * of the given text
+ * @param rStr The text in wich we search
+ * @return True if the search term is found in the text
+ */
+ bool searchForward( const OUString &rStr );
bool SearchBackward( const OUString &rStr,
sal_Int32* pStart, sal_Int32* pEnd,
css::util::SearchResult* pRes = nullptr );