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 --- svx/qa/unit/customshapes.cxx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'svx/qa') diff --git a/svx/qa/unit/customshapes.cxx b/svx/qa/unit/customshapes.cxx index 4a1f3cb39c46..ad0e305bf6ca 100644 --- a/svx/qa/unit/customshapes.cxx +++ b/svx/qa/unit/customshapes.cxx @@ -380,14 +380,12 @@ CPPUNIT_TEST_FIXTURE(CustomshapesTest, testTdf115813_OOXML_XY_handle) || (abs(nDesiredX - nObservedX) == 100 && abs(nDesiredY - nObservedY) <= 1) || (abs(nDesiredX - nObservedX) <= 1 && abs(nDesiredY - nObservedY) <= 1))) { - sErrors += "\n"; - //sErrors += OUString(sal_Unicode(10)); - sErrors - = sErrors + OUString::number(i) + " " + sShapeType + ": " + OUString::number(j); - sErrors = sErrors + " X " + OUString::number(nDesiredX) + "|" - + OUString::number(nObservedX); - sErrors = sErrors + " Y " + OUString::number(nDesiredY) + "|" - + OUString::number(nObservedY); + sErrors += "\n" + + //sErrors += OUString(sal_Unicode(10)); + OUString::number(i) + " " + sShapeType + ": " + OUString::number(j) + + " X " + OUString::number(nDesiredX) + "|" + + OUString::number(nObservedX) + " Y " + OUString::number(nDesiredY) + + "|" + OUString::number(nObservedY); } } } -- cgit