cid#1606757 Overflowed constant

Change-Id: Iefc06368d1d37c22907a72a27065fba88488db02
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172637
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
Caolán McNamara 2024-08-29 20:46:55 +01:00
parent 90e4ea2489
commit 89b88b168b

View file

@ -1109,7 +1109,7 @@ void SvtFileView::SetConfigString(std::u16string_view rCfgStr)
while ( nIdx != -1 )
{
sal_uInt16 nItemId = static_cast<sal_uInt16>(o3tl::toInt32(o3tl::getToken(rCfgStr, 0, ';', nIdx )));
int nItemId = o3tl::toInt32(o3tl::getToken(rCfgStr, 0, ';', nIdx ));
int nWidth = o3tl::toInt32(o3tl::getToken(rCfgStr, 0, ';', nIdx ));