From 05bec2bc26c02177a56df9792b083eb04b99f778 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 8 Nov 2019 10:15:04 +0100 Subject: loplugin:stringadd (clang-cl) Change-Id: Icf2894f77c90aa4620910d621249947bad4be8b7 Reviewed-on: https://gerrit.libreoffice.org/82269 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- connectivity/source/inc/ado/Aolewrap.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/inc/ado/Aolewrap.hxx b/connectivity/source/inc/ado/Aolewrap.hxx index 042d5fee6dfc..ef5c1a85995f 100644 --- a/connectivity/source/inc/ado/Aolewrap.hxx +++ b/connectivity/source/inc/ado/Aolewrap.hxx @@ -167,8 +167,7 @@ namespace connectivity if (FAILED(pInterface->get_Item(OLEVariant(sStr), &pT))) { #if OSL_DEBUG_LEVEL > 0 - OString sTemp("Unknown Item: "); - sTemp += OString(sStr.getStr(),sStr.getLength(),osl_getThreadTextEncoding()); + OString sTemp("Unknown Item: " + OString(sStr.getStr(),sStr.getLength(),osl_getThreadTextEncoding())); OSL_FAIL(sTemp.getStr()); #endif } -- cgit