summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorekuiitr <jhaekansh80@gmail.com>2017-10-15 20:23:47 +0530
committerJulien Nabet <serval2412@yahoo.fr>2017-10-18 06:53:20 +0200
commita4a182e24d2e3e954831a0a7c70a7299f28950cb (patch)
treed973fd5d39ebd8eab80a1467eecd5b75b52c2c2d /sd
parent5ea1b4c336d1cad92dc18e7cf7e4b381396f448b (diff)
tdf#112689 - Replace chained O(U)StringBuffer::append() with operator+
replaced use of append with operator+ Change-Id: I9eb36fd1f94475df57de7015f8dfabf95676b87d Reviewed-on: https://gerrit.libreoffice.org/43403 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/sdpage.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index e1d8193d1112..9a4a74bd618c 100644
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -128,10 +128,7 @@ SdPage::SdPage(SdDrawDocument& rNewDoc, bool bMasterPage)
// The name of the layout of the page is used by SVDRAW to determine the
// presentation template of the outline objects. Therefore, it already
// contains the designator for the outline (STR_LAYOUT_OUTLINE).
- OUStringBuffer aBuf(SdResId(STR_LAYOUT_DEFAULT_NAME));
- aBuf.append(SD_LT_SEPARATOR).append(STR_LAYOUT_OUTLINE);
- maLayoutName = aBuf.makeStringAndClear();
-
+ maLayoutName = SdResId(STR_LAYOUT_DEFAULT_NAME)+ SD_LT_SEPARATOR STR_LAYOUT_OUTLINE;
Size aPageSize(GetSize());
if (aPageSize.Width() > aPageSize.Height())