cid#1607858 silence Overflowed constant
and cid#1608350 Overflowed constant Change-Id: I63ad25445df936821c896628b95686a535ef52cf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174209 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins
This commit is contained in:
@@ -456,7 +456,7 @@ void SvxBoundArgs::Add()
|
||||
nBoolIdx = nBoolIdx - next;
|
||||
nCount = nCount - next;
|
||||
aBoolArr.erase( aBoolArr.begin() + nBoolIdx, aBoolArr.begin() + (nBoolIdx + next) );
|
||||
if( nBoolIdx )
|
||||
if (nBoolIdx > 0)
|
||||
aBoolArr[ nBoolIdx - 1 ] = false;
|
||||
#if OSL_DEBUG_LEVEL > 1
|
||||
else
|
||||
|
@@ -2507,7 +2507,7 @@ static void ConvertEnhancedCustomShapeEquation(
|
||||
OSL_ENSURE(false, "Attempted out of bound access to rEquationOrder of CustomShape (!)");
|
||||
}
|
||||
}
|
||||
nMask <<= 1;
|
||||
nMask = sal_uInt32(nMask << 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user