Kaydet (Commit) 77ba51a2 authored tarafından Caolán McNamara's avatar Caolán McNamara

CID#1103695 avoid use of -1 here

Change-Id: I7097d26f301fffa79d04fe4f26aeddb32223d62c
üst 44fa08ed
...@@ -951,7 +951,7 @@ void ExportDialog::updateControls() ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment