basic/source/sbx/sbxscan.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
New commits: commit 538ed5f34886dbaa593e6b8c2dd93bfb3fde392a Author: Takeshi Abe <t...@fixedpoint.jp> AuthorDate: Mon Dec 24 22:59:13 2018 +0900 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Wed Dec 26 08:13:42 2018 +0100 basic: Spare temporary variable Change-Id: I6c39061e04537c01c87f6cb2f40a35dd0a551a08 Reviewed-on: https://gerrit.libreoffice.org/65597 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> 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 ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits