summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-03-07 16:26:47 +0000
committerNoel Power <noel.power@suse.com>2013-03-07 16:27:35 +0000
commitf202b21770b9d36522ff811868b911d0f1c852a6 (patch)
tree9d395312ec309c0fe5102b3979e9b20cc543d367 /basic
parent76c3184813c97224cfd1e114ec13796e1da040d5 (diff)
fix String->OUString foobar
Change-Id: Ia924e6e8f3cfa25b131185713699d64e9d339357
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 0661861f4694..0744ec498ecd 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.insert(0,'%');
+ sReturnStrg = sReturnStrg.append('%');
break;
case 'e':
case 'E':