diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-29 10:43:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-29 12:27:43 +0200 |
commit | 8581d880f8aa8c2be15c875db291cebbb42841c7 (patch) | |
tree | 2cbae7247ebf5a47b9e9e59d47f0ab9dc38a02d2 /i18npool | |
parent | 316d68416dfee64d54ecaa4839a4045a4f205c4d (diff) |
pack a few more classes
Change-Id: Ia7870d1d0d91de213727116ccda5b41913223866
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95097
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/inc/xdictionary.hxx | 2 | ||||
-rw-r--r-- | i18npool/source/breakiterator/xdictionary.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/inc/xdictionary.hxx b/i18npool/inc/xdictionary.hxx index dbb07f75652b..6d6e20f10240 100644 --- a/i18npool/inc/xdictionary.hxx +++ b/i18npool/inc/xdictionary.hxx @@ -30,9 +30,9 @@ namespace i18npool { // cache structure. struct WordBreakCache { - sal_Int32 length; // contents length saved here. sal_Unicode *contents; // separated segment contents. sal_Int32* wordboundary; // word boundaries in segments. + sal_Int32 length; // contents length saved here. sal_Int32 size; // size of wordboundary WordBreakCache(); diff --git a/i18npool/source/breakiterator/xdictionary.cxx b/i18npool/source/breakiterator/xdictionary.cxx index 3e1398422f77..a57a3b0d4a4d 100644 --- a/i18npool/source/breakiterator/xdictionary.cxx +++ b/i18npool/source/breakiterator/xdictionary.cxx @@ -243,9 +243,9 @@ sal_Int32 xdictionary::getLongestMatch(const sal_Unicode* str, sal_Int32 sLen) */ WordBreakCache::WordBreakCache() : - length( 0 ), contents( nullptr ), wordboundary( nullptr ), + length( 0 ), size( 0 ) { } |