summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-11-08 10:15:04 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-11-08 11:28:31 +0100
commit05bec2bc26c02177a56df9792b083eb04b99f778 (patch)
treedf1b079f317ed35be3aa69e4a43d99f4026c50bd /extensions
parent83579e8018bf998552394cfe1e4d57f023e07382 (diff)
loplugin:stringadd (clang-cl)
Change-Id: Icf2894f77c90aa4620910d621249947bad4be8b7 Reviewed-on: https://gerrit.libreoffice.org/82269 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/ole/oleobjw.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx
index c3f81bfa5df5..8c98290b2125 100644
--- a/extensions/source/ole/oleobjw.cxx
+++ b/extensions/source/ole/oleobjw.cxx
@@ -1427,9 +1427,9 @@ uno::Any SAL_CALL IUnknownWrapper::directInvoke( const OUString& aName, const un
"DISP_E_BADVARTYPE.", nullptr);
break;
case DISP_E_EXCEPTION:
- message = "[automation bridge]: ";
- message += OUString(o3tl::toU(excepinfo.bstrDescription),
- ::SysStringLen(excepinfo.bstrDescription));
+ message = "[automation bridge]: "
+ + OUString(o3tl::toU(excepinfo.bstrDescription),
+ ::SysStringLen(excepinfo.bstrDescription));
throw InvocationTargetException(message, Reference<XInterface>(), Any());
break;
case DISP_E_MEMBERNOTFOUND:
@@ -2049,8 +2049,8 @@ Any IUnknownWrapper::invokeWithDispIdComTlb(FuncDesc& aFuncDesc,
"DISP_E_BADVARTYPE.", nullptr);
break;
case DISP_E_EXCEPTION:
- message = "[automation bridge]: ";
- message += OUString(o3tl::toU(excepinfo.bstrDescription),
+ message = "[automation bridge]: "
+ + OUString(o3tl::toU(excepinfo.bstrDescription),
::SysStringLen(excepinfo.bstrDescription));
throw InvocationTargetException(message, Reference<XInterface>(), Any());