[Libreoffice-commits] core.git: basic/source

Noel Power noel.power at suse.com
Thu Mar 7 09:27:15 PST 2013


 basic/source/sbx/sbxform.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a9813b9ab307591a4c8a06fd01a4ef82126cfb18
Author: Noel Power <noel.power at suse.com>
Date:   Thu Mar 7 17:26:21 2013 +0000

    doh! sReturnStrg is OUStringBuffer, no need to assign
    
    Change-Id: I490d20e8b494b4f59277b1cc92c73beb65a05813

diff --git a/basic/source/sbx/sbxform.cxx b/basic/source/sbx/sbxform.cxx
index 0744ec4..c0e23ff 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':


More information about the Libreoffice-commits mailing list