diff options
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/filter/exportdialog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/filter/exportdialog.cxx b/svtools/source/filter/exportdialog.cxx index 706715bec5b1..b935acf1d096 100644 --- a/svtools/source/filter/exportdialog.cxx +++ b/svtools/source/filter/exportdialog.cxx @@ -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) |