From cdbac696fb0cbb1d09645bc02799eed5504b192b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 10 Oct 2019 16:23:37 +0200 Subject: simplify "a = a +" to "a +=" mostly so that my stringadd loplugin can point out places to improve Change-Id: I9920ee1c99cdb6b811ba67ff9d8e32aa261884b5 Reviewed-on: https://gerrit.libreoffice.org/80618 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/text/txtprhdl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmloff') diff --git a/xmloff/source/text/txtprhdl.cxx b/xmloff/source/text/txtprhdl.cxx index 0bcc3d3ea8ba..32644e5f7f1c 100644 --- a/xmloff/source/text/txtprhdl.cxx +++ b/xmloff/source/text/txtprhdl.cxx @@ -546,7 +546,7 @@ bool XMLFrameProtectPropHdl_Impl::exportXML( } else { - rStrExpValue = rStrExpValue + " " + sVal; + rStrExpValue += " " + sVal; } } else if( rStrExpValue.isEmpty() ) @@ -775,7 +775,7 @@ bool XMLGrfMirrorPropHdl_Impl::exportXML( } else { - rStrExpValue = rStrExpValue + " " + sVal; + rStrExpValue += " " + sVal; } } else if( rStrExpValue.isEmpty() ) -- cgit