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

Matteo Casalin matteo.casalin at yahoo.com
Sat May 10 12:31:23 PDT 2014


 sw/source/core/unocore/unotext.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit b5208be2d23d5dbd17da6e240d75b553a291b739
Author: Matteo Casalin <matteo.casalin at yahoo.com>
Date:   Sat May 10 20:03:00 2014 +0200

    Avoid temporary OUStrings
    
    Change-Id: I25bd1c5900ba5a934c8cb87797e5d06313b75e9f

diff --git a/sw/source/core/unocore/unotext.cxx b/sw/source/core/unocore/unotext.cxx
index c03b895..93952c8 100644
--- a/sw/source/core/unocore/unotext.cxx
+++ b/sw/source/core/unocore/unotext.cxx
@@ -2024,11 +2024,11 @@ lcl_DebugCellProperties(
             for (sal_Int32  nDebugProperty = 0;
                  nDebugProperty < nDebugCellProperties; ++nDebugProperty)
             {
-                sNames += rDebugCellProperties[nDebugProperty].Name + OUString('-');
+                sNames += rDebugCellProperties[nDebugProperty].Name + "-";
             }
-            sNames += OUString('+');
+            sNames += "+";
         }
-        sNames += OUString('|');
+        sNames += "|";
     }
     (void)sNames;
 }


More information about the Libreoffice-commits mailing list