summaryrefslogtreecommitdiffstats
path: root/include/i18nutil
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-08-31 18:06:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-01 10:01:44 +0200
commit9c9ff9e89fd50223b28f327d3a7e416ab0ae831f (patch)
tree8990680d8a5ab3cc961c1c3fe50313218f10c7a2 /include/i18nutil
parentofz: MemorySanitizer: use-of-uninitialized-value (diff)
downloadcore-9c9ff9e89fd50223b28f327d3a7e416ab0ae831f.tar.gz
core-9c9ff9e89fd50223b28f327d3a7e416ab0ae831f.zip
clang-tidy:readability-redundant-member-init
Change-Id: I78339f1df1f0c55c7edaa552940b07d1ada3aeb5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121386 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/i18nutil')
-rw-r--r--include/i18nutil/searchopt.hxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/i18nutil/searchopt.hxx b/include/i18nutil/searchopt.hxx
index 56bfaa3f87a6..817014af8d96 100644
--- a/include/i18nutil/searchopt.hxx
+++ b/include/i18nutil/searchopt.hxx
@@ -60,9 +60,6 @@ struct SAL_WARN_UNUSED SearchOptions {
SearchOptions()
: algorithmType(::css::util::SearchAlgorithms_ABSOLUTE)
, searchFlag(0)
- , searchString()
- , replaceString()
- , Locale()
, changedChars(0)
, deletedChars(0)
, insertedChars(0)
@@ -117,8 +114,7 @@ struct SAL_WARN_UNUSED SearchOptions2 : public SearchOptions {
}
SearchOptions2()
- : SearchOptions()
- , AlgorithmType2(0)
+ : AlgorithmType2(0)
, WildcardEscapeCharacter(0)
{}