summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/rtfattributeoutput.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/ww8/rtfattributeoutput.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/ww8/rtfattributeoutput.cxx')
-rw-r--r--sw/source/filter/ww8/rtfattributeoutput.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx
index 80c677fdf7ce..e9def02ef1a3 100644
--- a/sw/source/filter/ww8/rtfattributeoutput.cxx
+++ b/sw/source/filter/ww8/rtfattributeoutput.cxx
@@ -526,8 +526,7 @@ void RtfAttributeOutput::StartRuby(const SwTextNode& rNode, sal_Int32 nPos,
EndRun(&rNode, nPos);
m_rExport.OutputField(nullptr, ww::eEQ, aStr, FieldFlags::Start | FieldFlags::CmdStart);
aStr = rRuby.GetText();
- aStr += ")";
- aStr += ",";
+ aStr += "),";
m_rExport.OutputField(nullptr, ww::eEQ, aStr, FieldFlags::NONE);
}