cid#1606710 Overflowed constant
Change-Id: Ic1ed59ffa3d3dd8224e3eaaf2cf98db9fb920a6a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171928 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
parent
c93eb54c87
commit
d9841ab378
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ void XMLIndexChapterInfoEntryContext::startFastElement(
|
|||
case XML_ELEMENT(TEXT, XML_OUTLINE_LEVEL):
|
||||
{
|
||||
sal_Int32 nTmp;
|
||||
if (::sax::Converter::convertNumber(nTmp, aIter.toView()))
|
||||
if (::sax::Converter::convertNumber(nTmp, aIter.toView(), 0, SAL_MAX_UINT16))
|
||||
{
|
||||
//control on range is carried out in the UNO level
|
||||
nOutlineLevel = static_cast<sal_uInt16>(nTmp);
|
||||
|
|
Loading…
Reference in a new issue