summaryrefslogtreecommitdiff
path: root/sw/qa/extras/inc/swmodeltestbase.hxx
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/qa/extras/inc/swmodeltestbase.hxx
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/qa/extras/inc/swmodeltestbase.hxx')
-rw-r--r--sw/qa/extras/inc/swmodeltestbase.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/qa/extras/inc/swmodeltestbase.hxx b/sw/qa/extras/inc/swmodeltestbase.hxx
index 35edcd79c090..b73ca07bf83f 100644
--- a/sw/qa/extras/inc/swmodeltestbase.hxx
+++ b/sw/qa/extras/inc/swmodeltestbase.hxx
@@ -848,11 +848,11 @@ protected:
}
else
{
- OString aMessage("validation requested, but don't know how to validate ");
- aMessage += filename;
- aMessage += " (";
- aMessage += OUStringToOString(aFilterName, RTL_TEXTENCODING_UTF8);
- aMessage += ")";
+ OString aMessage = "validation requested, but don't know how to validate " +
+ OString(filename) +
+ " (" +
+ OUStringToOString(aFilterName, RTL_TEXTENCODING_UTF8) +
+ ")";
CPPUNIT_FAIL(aMessage.getStr());
}
}