summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2022-09-09 15:29:23 -0800
committerJim Raykowski <raykowj@gmail.com>2022-09-11 07:13:01 +0200
commit218624bdf176010e18afc06b453b4535d7a00a04 (patch)
treeae7c19aec7fb1bf7300f696fc723d92c64792a63 /sw/inc
parentbff60eadeac348024849d710690435ee9580831b (diff)
tdf#126535 show search key found times in find and replace dialog
search label Change-Id: I2850652896027ec04668d1fe3e0134c1ff53562e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139745 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/strings.hrc1
-rw-r--r--sw/inc/view.hxx2
2 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/strings.hrc b/sw/inc/strings.hrc
index 26d199336afa..81a54280d92c 100644
--- a/sw/inc/strings.hrc
+++ b/sw/inc/strings.hrc
@@ -1384,6 +1384,7 @@
#define STR_NUM_OUTLINE NC_("STR_NUM_OUTLINE", "Outline ")
#define STR_EDIT_FOOTNOTE NC_("STR_EDIT_FOOTNOTE", "Edit Footnote/Endnote")
#define STR_NB_REPLACED NC_("STR_NB_REPLACED", "Search key replaced XX times.")
+#define STR_SEARCH_KEY_FOUND_TIMES NC_("STR_SEARCH_KEY_FOUND_TIMES", "Search key found %1 times.")
#define STR_SRCVIEW_ROW NC_("STR_SRCVIEW_ROW", "Row ")
#define STR_SRCVIEW_COL NC_("STR_SRCVIEW_COL", "Column ")
#define STR_SAVEAS_SRC NC_("STR_SAVEAS_SRC", "~Export source...")
diff --git a/sw/inc/view.hxx b/sw/inc/view.hxx
index e348f74fd73e..45d38b0cf231 100644
--- a/sw/inc/view.hxx
+++ b/sw/inc/view.hxx
@@ -268,7 +268,7 @@ class SW_DLLPUBLIC SwView: public SfxViewShell
// methods for searching
// set search context
SAL_DLLPRIVATE bool SearchAndWrap(bool bApi);
- SAL_DLLPRIVATE bool SearchAll();
+ SAL_DLLPRIVATE sal_uInt16 SearchAll();
SAL_DLLPRIVATE sal_uLong FUNC_Search( const SwSearchOptions& rOptions );
SAL_DLLPRIVATE void Replace();