From c1cf6f343b278f7ef74c9b17318d864eafe3e79d Mon Sep 17 00:00:00 2001 From: Petr Mladek Date: Tue, 19 Jul 2011 12:45:50 +0200 Subject: [PATCH] fix typo in the last commit scriptListCount should get initialized by scriptList variable --- i18npool/source/breakiterator/breakiteratorImpl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18npool/source/breakiterator/breakiteratorImpl.cxx b/i18npool/source/breakiterator/breakiteratorImpl.cxx index 9c6d09d7d6ec..e81bfff9452a 100644 --- a/i18npool/source/breakiterator/breakiteratorImpl.cxx +++ b/i18npool/source/breakiterator/breakiteratorImpl.cxx @@ -535,7 +535,7 @@ namespace {UBLOCK_LATIN_EXTENDED_C, UBLOCK_LATIN_EXTENDED_D, ScriptType::LATIN} }; - #define scriptListCount SAL_N_ELEMENTS(scriptTypes) + #define scriptListCount SAL_N_ELEMENTS(scriptList) //always sets rScriptType //