diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2009-04-23 14:27:15 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2009-04-23 14:27:15 +0000 |
commit | 176ecc0e361d9e0bf042fcce19c93e4ed5a62575 (patch) | |
tree | c319a3697624773af422c6a02bf9445b2b80a421 | |
parent | 90398bb61c48a5722591d65b6892baf54c841b48 (diff) |
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
-rw-r--r-- | i18nutil/source/utility/casefolding.cxx | 3 | ||||
-rwxr-xr-x | vcl/aqua/source/window/salframeview.mm | 4 |
2 files changed, 7 insertions, 0 deletions
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; diff --git a/vcl/aqua/source/window/salframeview.mm b/vcl/aqua/source/window/salframeview.mm index e291dae911cf..7de43d770385 100755 --- a/vcl/aqua/source/window/salframeview.mm +++ b/vcl/aqua/source/window/salframeview.mm @@ -1233,6 +1233,10 @@ private: mpLastSuperEvent = mpLastEvent; [NSApp performSelector:@selector(sendSuperEvent:) withObject: mpLastEvent]; mpLastSuperEvent = pLastSuperEvent; + + std::map< NSEvent*, bool >::iterator it = GetSalData()->maKeyEventAnswer.find( mpLastEvent ); + if( it != GetSalData()->maKeyEventAnswer.end() ) + it->second = true; } } } |