summaryrefslogtreecommitdiffstats
path: root/i18npool
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 /i18npool
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 'i18npool')
-rw-r--r--i18npool/source/breakiterator/breakiterator_th.cxx3
-rw-r--r--i18npool/source/breakiterator/xdictionary.cxx1
2 files changed, 1 insertions, 3 deletions
diff --git a/i18npool/source/breakiterator/breakiterator_th.cxx b/i18npool/source/breakiterator/breakiterator_th.cxx
index df78aeab3afe..d7accc160f7d 100644
--- a/i18npool/source/breakiterator/breakiterator_th.cxx
+++ b/i18npool/source/breakiterator/breakiterator_th.cxx
@@ -33,8 +33,7 @@ namespace i18npool {
/**
* Constructor.
*/
-BreakIterator_th::BreakIterator_th() :
- cachedText()
+BreakIterator_th::BreakIterator_th()
{
cBreakIterator = "com.sun.star.i18n.BreakIterator_th";
// to improve performance, alloc big enough memory in construct.
diff --git a/i18npool/source/breakiterator/xdictionary.cxx b/i18npool/source/breakiterator/xdictionary.cxx
index 25dc8bb0ee9b..86a703db0440 100644
--- a/i18npool/source/breakiterator/xdictionary.cxx
+++ b/i18npool/source/breakiterator/xdictionary.cxx
@@ -61,7 +61,6 @@ sal_Unicode* getDataArea_zh();
#endif
xdictionary::xdictionary(const char *lang) :
- boundary(),
japaneseWordBreak( false )
{