summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-03-13 12:51:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-03-13 16:47:32 +0000
commit13d3ae64dbf2ac4bda8e831c1da890b09024a8bb (patch)
tree5097d7b6d54186490452a62adc3e84634a0d8d4e /svx
parent25ae332bbafd0cb416a6a5c0db467e501661c679 (diff)
make more use of OUStringBuffer::append(OUStringConcat)
where we can avoid constructing temporary OUStrings Change-Id: I0eacd68a8d1b450894c2ea769055f16886b78ad0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148780 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdattr.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdattr.cxx b/svx/source/svdraw/svdattr.cxx
index 86794dc92bfe..3503fae4f6ce 100644
--- a/svx/source/svdraw/svdattr.cxx
+++ b/svx/source/svdraw/svdattr.cxx
@@ -868,8 +868,7 @@ bool SdrAngleItem::GetPresentation(
if(ePres == SfxItemPresentation::Complete)
{
OUString aStr = SdrItemPool::GetItemName(Which());
- aText.insert(0, ' ');
- aText.insert(0, aStr);
+ aText.insert(0, aStr + " ");
}
rText = aText.makeStringAndClear();