summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlcss1.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-01 18:23:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-02 08:39:14 +0200
commit91c836acea76cffb0e2d5df0d15fc94d84bfdc5a (patch)
tree24b688ec199566fd692aa7b7f22d772c1e484a8c /sw/source/filter/html/htmlcss1.cxx
parent9d99dc8a835d66cbe27e4cbf5869e6704dd781f9 (diff)
loplugin:stringadd in sw
Change-Id: I72e1cbc229a47660b2313f46898753e273b69d35 Reviewed-on: https://gerrit.libreoffice.org/79985 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/html/htmlcss1.cxx')
-rw-r--r--sw/source/filter/html/htmlcss1.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/filter/html/htmlcss1.cxx b/sw/source/filter/html/htmlcss1.cxx
index 053b43775627..e7a1827543a6 100644
--- a/sw/source/filter/html/htmlcss1.cxx
+++ b/sw/source/filter/html/htmlcss1.cxx
@@ -1499,8 +1499,7 @@ void SwCSS1Parser::FillDropCap( SwFormatDrop& rDrop,
OUString aName;
if( pName )
{
- aName = *pName;
- aName += ".FL"; // first letter
+ aName = *pName + ".FL"; // first letter
pCFormat = m_pDoc->FindCharFormatByName( aName );
}
else