summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorGökhan Gurbetoğlu <gokhan.gurbetoglu@pardus.org.tr>2018-04-12 02:08:51 +0300
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-17 08:16:54 +0200
commit37729618021bb44b9c6ba37dc72a1d3111ce0ffb (patch)
tree968a0c4e84ca9d54f7fbe833f9a268425e98fe81 /sd
parent821371fb453f880240efa71ac3f556831be161d9 (diff)
tdf#100726 - Improve readability of OUString concatanations
Change-Id: I3ba75dbe6754b8138f61e223387832a6fb53c1c5 Reviewed-on: https://gerrit.libreoffice.org/52752 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/html/htmlex.cxx14
1 files changed, 6 insertions, 8 deletions
diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx
index b9125a458b6f..f3dc165fabda 100644
--- a/sd/source/filter/html/htmlex.cxx
+++ b/sd/source/filter/html/htmlex.cxx
@@ -174,14 +174,12 @@ public:
// close all still open tags
OUString HtmlState::Flush()
{
- OUString aStr;
-
- aStr += SetWeight(false);
- aStr += SetItalic(false);
- aStr += SetUnderline(false);
- aStr += SetStrikeout(false);
- aStr += SetColor(maDefColor);
- aStr += SetLink("","");
+ OUString aStr = SetWeight(false)
+ + SetItalic(false)
+ + SetUnderline(false)
+ + SetStrikeout(false)
+ + SetColor(maDefColor)
+ + SetLink("","");
return aStr;
}