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

Stephan Bergmann sbergman at redhat.com
Wed Nov 26 13:21:58 PST 2014


 xmloff/source/draw/shapeexport.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit e97edb6e85a8e272b003e2b07a68d49abf7dd750
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Nov 26 22:21:22 2014 +0100

    simplify
    
    Change-Id: I6cb7c66a8dbac1a887d4f218f5de9d73310c809b

diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index f0a8db4..6ad5b61 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -2448,13 +2448,12 @@ void XMLShapeExport::ImpExportConnectorShape(
                 nDelta1);
         if( nDelta2 != 0 || nDelta3 != 0 )
         {
-            const char aSpace = ' ';
-            sStringBuffer.appendAscii( &aSpace, 1 );
+            sStringBuffer.append( ' ' );
             mrExport.GetMM100UnitConverter().convertMeasureToXML(sStringBuffer,
                     nDelta2);
             if( nDelta3 != 0 )
             {
-                sStringBuffer.appendAscii( &aSpace, 1 );
+                sStringBuffer.append( ' ' );
                 mrExport.GetMM100UnitConverter().convertMeasureToXML(
                         sStringBuffer, nDelta3);
             }


More information about the Libreoffice-commits mailing list