CID#1103695 avoid use of -1 here
Change-Id: I7097d26f301fffa79d04fe4f26aeddb32223d62c
This commit is contained in:
@@ -951,7 +951,7 @@ void ExportDialog::updateControls()
|
|||||||
if (nInd != -1)
|
if (nInd != -1)
|
||||||
aEst = aEst.replaceAt( nInd, 2, ImpValueOfInKB( nRawFileSize ) );
|
aEst = aEst.replaceAt( nInd, 2, ImpValueOfInKB( nRawFileSize ) );
|
||||||
|
|
||||||
if ( nRealFileSize )
|
if ( nRealFileSize && nInd != -1 )
|
||||||
{
|
{
|
||||||
nInd = aEst.indexOf( "%", nInd );
|
nInd = aEst.indexOf( "%", nInd );
|
||||||
if (nInd != -1)
|
if (nInd != -1)
|
||||||
|
Reference in New Issue
Block a user