diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2018-12-24 22:59:13 +0900 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-26 08:13:42 +0100 |
commit | 538ed5f34886dbaa593e6b8c2dd93bfb3fde392a (patch) | |
tree | 2a1568b287a6d8713fc339d18db80a4dc7e5f9b8 /basic | |
parent | 6374249da32976a3375fa3d098da467578ffb4c1 (diff) |
basic: Spare temporary variable
Change-Id: I6c39061e04537c01c87f6cb2f40a35dd0a551a08
Reviewed-on: https://gerrit.libreoffice.org/65597
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/sbx/sbxscan.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx index d0d7cd52326e..6b785b3fdca8 100644 --- a/basic/source/sbx/sbxscan.cxx +++ b/basic/source/sbx/sbxscan.cxx @@ -884,11 +884,7 @@ void SbxValue::Format( OUString& rRes, const OUString* pFmt ) const } else - { - OUString aTmpString( rRes ); - ImpCvtNum( GetDouble(), nComma, aTmpString ); - rRes = aTmpString; - } + ImpCvtNum( GetDouble(), nComma, rRes ); break; case SbxSTRING: if( pFmt ) |