diff options
author | ekuiitr <jhaekansh80@gmail.com> | 2017-12-05 21:44:23 +0800 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-07 08:52:31 +0100 |
commit | 6a68f46e8e931c3d4b095a9394d6c050ac9c49d2 (patch) | |
tree | c99db0c4ae8abb945f433254aef6a55f1e1aa8ba /sd/source | |
parent | 6da58b0e842b81669e5076c2c00dddf67a5616e1 (diff) |
tdf#57950 replaced some O(U)StringBuffer::append() with operator+
Change-Id: Idd32e3f68787186c157ba7382cab39b0b974ac20
Reviewed-on: https://gerrit.libreoffice.org/45879
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Muhammet Kara <muhammet.kara@pardus.org.tr>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/core/drawdoc3.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
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) { |