summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-03-07 17:26:21 +0000
committerNoel Power <noel.power@suse.com>2013-03-07 17:26:21 +0000
commita9813b9ab307591a4c8a06fd01a4ef82126cfb18 (patch)
tree04a644d234067a017f86a448f4d2105e5147b3c1 /basic
parent344e4a25eac6505678f4ce8a6c1c8cef83c68276 (diff)
doh! sReturnStrg is OUStringBuffer, no need to assign
Change-Id: I490d20e8b494b4f59277b1cc92c73beb65a05813
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxform.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxform.cxx b/basic/source/sbx/sbxform.cxx
index 0744ec498ecd..c0e23ff868eb 100644
--- a/basic/source/sbx/sbxform.cxx
+++ b/basic/source/sbx/sbxform.cxx
@@ -819,7 +819,7 @@ void SbxBasicFormater::ScanFormatString( double dNumber,
case '%':
// maybe remove redundant 0s, e. g. 4.500e4 in 0.0##e-00
ParseBack( sReturnStrg, sFormatStrg, i-1 );
- sReturnStrg = sReturnStrg.append('%');
+ sReturnStrg.append('%');
break;
case 'e':
case 'E':