summaryrefslogtreecommitdiff
path: root/sd/source/ui/remotecontrol/ImagePreparer.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-03-30 10:15:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-03-30 11:38:07 +0000
commitf24d38de3c23479e79768cd3fcfe37692cee27e4 (patch)
tree2a7804fa21648bb9cfabab827f8e65432ef358c9 /sd/source/ui/remotecontrol/ImagePreparer.cxx
parentdb9912d824c1d621fdc409b9cdd6c79caefe1327 (diff)
loplugin:stringadd in sd/sdext
when applying my upcoming patch to also consider O[U]StringBuffer Change-Id: Ic95e72e1c857c6814d6e25b9820494cdfa535465 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149746 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/remotecontrol/ImagePreparer.cxx')
-rw-r--r--sd/source/ui/remotecontrol/ImagePreparer.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sd/source/ui/remotecontrol/ImagePreparer.cxx b/sd/source/ui/remotecontrol/ImagePreparer.cxx
index 492f51380e7b..8cd05154365c 100644
--- a/sd/source/ui/remotecontrol/ImagePreparer.cxx
+++ b/sd/source/ui/remotecontrol/ImagePreparer.cxx
@@ -215,8 +215,7 @@ OString ImagePreparer::prepareNotes( sal_uInt32 aSlideNumber )
uno::Reference<text::XTextRange> xText (xServiceName, UNO_QUERY);
if (xText.is())
{
- aRet.append(xText->getString());
- aRet.append("<br/>");
+ aRet.append(xText->getString() + "<br/>");
}
}
else
@@ -232,8 +231,7 @@ OString ImagePreparer::prepareNotes( sal_uInt32 aSlideNumber )
aNotesPage->getByIndex(nIndex), UNO_QUERY);
if (xText.is())
{
- aRet.append(xText->getString());
- aRet.append("<br/>");
+ aRet.append(xText->getString() + "<br/>");
}
}
}