summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/inc/xdictionary.hxx2
-rw-r--r--i18npool/source/breakiterator/xdictionary.cxx2
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 )
{
}