From 7049328fb2d656d8454d4f704ad75d057e766c0b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 20 Apr 2021 21:07:42 +0200 Subject: loplugin:stringadd replace OUStringLiteral temporaries with OUString::Concat Change-Id: I656f06a74d9f0180ae460264563d6a935c7d2c60 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114377 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/qa/unit/swmodeltestbase.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/qa/unit') diff --git a/sw/qa/unit/swmodeltestbase.cxx b/sw/qa/unit/swmodeltestbase.cxx index 632441524eb3..7a158abf7e3b 100644 --- a/sw/qa/unit/swmodeltestbase.cxx +++ b/sw/qa/unit/swmodeltestbase.cxx @@ -604,8 +604,8 @@ void SwModelTestBase::reload(const char* pFilter, const char* filename, const ch else { OString aMessage - = OStringLiteral("validation requested, but don't know how to validate ") + filename - + " (" + OUStringToOString(aFilterName, RTL_TEXTENCODING_UTF8) + ")"; + = OString::Concat("validation requested, but don't know how to validate ") + + filename + " (" + OUStringToOString(aFilterName, RTL_TEXTENCODING_UTF8) + ")"; CPPUNIT_FAIL(aMessage.getStr()); } } -- cgit