diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-08-27 19:07:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-08-29 08:09:10 +0200 |
commit | f144907f6582051a96d6c9d5458d299c488df019 (patch) | |
tree | 71765af51511eb88355e974a6e1aba9379bd3b1d | |
parent | 5e9d24f08551c06a20aa01408eb708c813fe20c4 (diff) |
Directly use OUStringBuffer::indexOf
Change-Id: I5d7673315b3bcbcdc47d31c8fad958e907699a6d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101573
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-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 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(); |