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