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

ekuiitr jhaekansh80 at gmail.com
Thu Dec 7 07:54:22 UTC 2017


 sd/source/core/drawdoc3.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 6a68f46e8e931c3d4b095a9394d6c050ac9c49d2
Author: ekuiitr <jhaekansh80 at gmail.com>
Date:   Tue Dec 5 21:44:23 2017 +0800

    tdf#57950 replaced some O(U)StringBuffer::append() with operator+
    
    Change-Id: Idd32e3f68787186c157ba7382cab39b0b974ac20
    Reviewed-on: https://gerrit.libreoffice.org/45879
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Muhammet Kara <muhammet.kara at pardus.org.tr>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx
index dfb48c863ffe..5aba6cf3f448 100644
--- a/sd/source/core/drawdoc3.cxx
+++ b/sd/source/core/drawdoc3.cxx
@@ -1444,9 +1444,7 @@ void SdDrawDocument::SetMasterPage(sal_uInt16 nSdPageNum,
         }
         else
         {
-            OUStringBuffer aBuf(rLayoutName);
-            aBuf.append(SD_LT_SEPARATOR).append(STR_LAYOUT_OUTLINE);
-            OUString aSearchFor(aBuf.makeStringAndClear());
+            OUString aSearchFor = rLayoutName + SD_LT_SEPARATOR STR_LAYOUT_OUTLINE;
 
             for (sal_uInt16 nMP = 0; nMP < pSourceDoc->GetMasterPageCount(); ++nMP)
             {


More information about the Libreoffice-commits mailing list