summaryrefslogtreecommitdiff
path: root/include/i18nlangtag/lang.h
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-09-14 10:46:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-09-14 10:49:44 +0200
commit874cc6cb72e6e795f48bcee5d4fe5c595fb1f702 (patch)
tree88479e3236128740a813452c538fae44596e9524 /include/i18nlangtag/lang.h
parent58fb53d53e2bf46d448a5f52aa6714ae6c539e12 (diff)
Don't read out-of-range ContentTypeId from configuration
officecfg/registry/schema/org/openoffice/Office/Writer.xcs specifies -1 as default for /org.openoffice.Office/Writer/Navigator/RootType, which now triggers the assert in o3tl::enumarray::operator[] during JunitTest_toolkit_unoapi_1. Regression introduced with cb45d0d4272da54f90cb2b03d2cdbe1a4eebc75c "convert CONTENT_TYPE to scoped enum." (A better fix might be to replace ContentTypeId::UNKNOWN with -1; to be followed-up upon.) Change-Id: Id12c775cee8936ef2fd411da25558acabb5fa0c9
Diffstat (limited to 'include/i18nlangtag/lang.h')
0 files changed, 0 insertions, 0 deletions