cid#1608301 silence Overflowed constant
Change-Id: I7cca8a62307b434b34781d8b1ba3ee312cafde0a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172351 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins
This commit is contained in:
@@ -5292,7 +5292,8 @@ void PPTStyleTextPropReader::Init( SvStream& rIn, const DffRecordHeader& rTextHe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !aString.isEmpty() )
|
const sal_uInt32 nStringLen = aString.getLength();
|
||||||
|
if (nStringLen)
|
||||||
{
|
{
|
||||||
sal_uInt32 nCharCount;
|
sal_uInt32 nCharCount;
|
||||||
bool bTextPropAtom = false;
|
bool bTextPropAtom = false;
|
||||||
@@ -5304,7 +5305,6 @@ void PPTStyleTextPropReader::Init( SvStream& rIn, const DffRecordHeader& rTextHe
|
|||||||
sal_uInt32 nCurrentPara = 0;
|
sal_uInt32 nCurrentPara = 0;
|
||||||
size_t i = 1; // points to the next element to process
|
size_t i = 1; // points to the next element to process
|
||||||
sal_uInt32 nCurrentSpecMarker = aSpecMarkerList.empty() ? 0 : aSpecMarkerList[0];
|
sal_uInt32 nCurrentSpecMarker = aSpecMarkerList.empty() ? 0 : aSpecMarkerList[0];
|
||||||
sal_uInt32 nStringLen = aString.getLength();
|
|
||||||
|
|
||||||
while ( nCharReadCnt < nStringLen )
|
while ( nCharReadCnt < nStringLen )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user