From 176ecc0e361d9e0bf042fcce19c93e4ed5a62575 Mon Sep 17 00:00:00 2001 From: Ivo Hinkelmann Date: Thu, 23 Apr 2009 14:27:15 +0000 Subject: CWS-TOOLING: integrate CWS ooo31gsl10_DEV300 2009-04-20 17:22:17 +0200 pl r270996 : #i101210# reset maps in case of wrong index 2009-04-20 16:40:17 +0200 pl r270993 : #i101092# do not dispatch events twice --- i18nutil/source/utility/casefolding.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'i18nutil') diff --git a/i18nutil/source/utility/casefolding.cxx b/i18nutil/source/utility/casefolding.cxx index 7a74609b0342..7827aa47e30b 100644 --- a/i18nutil/source/utility/casefolding.cxx +++ b/i18nutil/source/utility/casefolding.cxx @@ -132,7 +132,10 @@ is_ja_voice_sound_mark(sal_Unicode& current, sal_Unicode next) sal_Unicode casefolding::getNextChar(const sal_Unicode *str, sal_Int32& idx, sal_Int32 len, MappingElement& e, Locale& aLocale, sal_uInt8 nMappingType, TransliterationModules moduleLoaded) throw (RuntimeException) { if( idx >= len ) + { + e = MappingElement(); return 0; + } sal_Unicode c; -- cgit