diff options
-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 ) |