| commit | 368e9a829e07b3f8624898d69d2c00ec3bc590ec | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Wed Mar 04 14:09:56 2020 +0000 |
| committer | Caolán McNamara <caolanm@redhat.com> | Wed Mar 04 22:12:13 2020 +0100 |
| tree | a828b76a598574f65b8d6ab0676edb43c99afded | |
| parent | 6a05f8810684024303047ac9105be4ff5ae8c536 [diff] |
ofz#21045 Invalid-enum-value runtime error: load of value 65535, which is not a valid value for type 'enum LineNumberingToken' Change-Id: I432ba6f46838b499c690f717216b61b127dc2dda Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89977 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/xmloff/source/text/XMLLineNumberingImportContext.cxx b/xmloff/source/text/XMLLineNumberingImportContext.cxx index 6cd7f48..6207df4 100644 --- a/xmloff/source/text/XMLLineNumberingImportContext.cxx +++ b/xmloff/source/text/XMLLineNumberingImportContext.cxx
@@ -110,7 +110,7 @@ void XMLLineNumberingImportContext::SetAttribute( sal_uInt16 nPrefixKey, static const SvXMLTokenMap aTokenMap(aLineNumberingTokenMap); enum LineNumberingToken eToken = static_cast<enum LineNumberingToken>(aTokenMap.Get(nPrefixKey, rLocalName)); auto eToken = aTokenMap.Get(nPrefixKey, rLocalName); bool bTmp(false); sal_Int32 nTmp;