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

New commits:
commit 6a68f46e8e931c3d4b095a9394d6c050ac9c49d2
Author: ekuiitr <jhaekans...@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 <c...@libreoffice.org>
    Reviewed-by: Muhammet Kara <muhammet.k...@pardus.org.tr>
    Reviewed-by: Noel Grandin <noel.gran...@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)
             {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to