summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/filter/exportdialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/filter/exportdialog.cxx b/svtools/source/filter/exportdialog.cxx
index 09e2e9b4d3b5..43f7cedcba7b 100644
--- a/svtools/source/filter/exportdialog.cxx
+++ b/svtools/source/filter/exportdialog.cxx
@@ -867,7 +867,7 @@ static OUString ImpValueOfInKB( sal_Int64 rVal )
fVal /= ( 1 << 10 );
fVal += 0.05;
OUStringBuffer aVal( OUString::number( fVal ) );
- sal_Int32 nX( OUString( aVal.getStr() ).indexOf( '.' ) );
+ sal_Int32 nX( aVal.indexOf( '.' ) );
if ( nX > 0 )
aVal.setLength( nX + 2 );
return aVal.makeStringAndClear();