cid#1607833 Overflowed constant

Change-Id: Ie90b759b76fa587cddd3c160fe7845dec01652c5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176690
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
Caolán McNamara 2024-11-16 21:48:20 +00:00
parent ed8514af49
commit dc4a433733

View file

@ -1090,7 +1090,7 @@ void SvxRTFItemStackType::Compress( const SvxRTFParser& rParser )
pTmp->Compress( rParser );
if( !pTmp->nSttCnt
? (aLastNd.GetIdx()+1 != pTmp->mxStartNodeIdx->GetIdx() ||
? (aLastNd.GetIdx() != pTmp->mxStartNodeIdx->GetIdx() - 1 ||
!rParser.IsEndPara( &aLastNd, nLastCnt ) )
: ( pTmp->nSttCnt != nLastCnt ||
aLastNd.GetIdx() != pTmp->mxStartNodeIdx->GetIdx() ))