summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-05-25 14:24:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-05-25 18:43:52 +0200
commite810bd2b99777e192fb464572fa64a34bc0768fe (patch)
tree22e209b88814242c1914931dff28112cbf8c0e6f /svtools
parent578758835e700b38b167753ccda9527f3a8cc43b (diff)
merge some stringadds
found with a lightly tweaked version of the loplugin:stringadd and some hand-holding. Change-Id: I146aadcaf665e98fea89a9cad2df4dc3935622f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152275 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/svhtml/htmlout.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/svtools/source/svhtml/htmlout.cxx b/svtools/source/svhtml/htmlout.cxx
index 1c2856050d0f..4f027b0c10de 100644
--- a/svtools/source/svhtml/htmlout.cxx
+++ b/svtools/source/svhtml/htmlout.cxx
@@ -605,12 +605,12 @@ SvStream& HTMLOutFuncs::Out_ImageMap( SvStream& rStream,
if( rOutName.isEmpty() )
return rStream;
- OStringBuffer sOut;
- sOut.append(OString::Concat("<") +
- OOO_STRING_SVTOOLS_HTML_map
- " "
- OOO_STRING_SVTOOLS_HTML_O_name
- "=\"");
+ OStringBuffer sOut =
+ OString::Concat("<") +
+ OOO_STRING_SVTOOLS_HTML_map
+ " "
+ OOO_STRING_SVTOOLS_HTML_O_name
+ "=\"";
rStream.WriteOString( sOut );
sOut.setLength(0);
Out_String( rStream, rOutName );