summaryrefslogtreecommitdiff
path: root/include/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-02-02 11:54:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-02-02 12:40:06 +0100
commit3c51c3db186e243a7e96103242285b2854725a18 (patch)
treee10d4479f2b9a9e831863f7ddf063622a49fdf81 /include/sal
parentf6c3c942976d615972674c5a5e12337d07be104c (diff)
Attempted fix for "Resolves: #i126762# Ignore dictionary not in specified...
...location." Caused many crashed during "make check", when aLocaleNames is a sequence of 17 ("ar-SA", "ar-DZ", ...), but aLcoations merely a sequence of 2 (".../dict-ar/ar.aff", ".../dict-ar/ar.dic"). From comments further down below, it looks like aLocations will always contain exactly two entries ("also both files have to be in the same directory and the file names must only differ in the extension (.aff/.dic)"), and that all the aLocaleNames members share the same set of aLocations ("Thus here we work-around this by adding the same dictionary several times. Once for each of its supported locales"), so that it would appear to be OK to just check once for the existenceof aLocations[0]. (There is a check for if (aDictIt->aLocaleNames.getLength() > 0 && aDictIt->aLocations.getLength() > 0) below, so it might be that these can be empty, or it might just be "defensive programming." Play it safe, and check here that aLocations is not empty.) Change-Id: I82bea6571983e397a9e164b294a5ba656b511a67
Diffstat (limited to 'include/sal')
-rw-r--r--include/sal/log-areas.dox1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sal/log-areas.dox b/include/sal/log-areas.dox
index 99fdfd567fe8..d6251fc52494 100644
--- a/include/sal/log-areas.dox
+++ b/include/sal/log-areas.dox
@@ -526,6 +526,7 @@ certain functionality.
@li @c drawinglayer
@li @c helpcompiler
@li @c jvmaccess
+@li @c lingucomponent
@li @c linguistic
@li @c lwp - lotuswordpro
@li @c mysqlc