diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-04-26 15:25:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-04-27 15:11:25 +0200 |
commit | 60728712f0f8bf72662da0b0e446ab416e9bf347 (patch) | |
tree | e950a7cb099f51bd048e7e2e2f65607282ff5052 /cppu/source/threadpool | |
parent | 87e0feafd3690a9b58890cc28f8ba0c521bfb557 (diff) |
loplugin:ostr in cppu,cppuhelper
Change-Id: I15c00d7a87396d07be2d10a0311f308a93e8eec3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166751
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'cppu/source/threadpool')
-rw-r--r-- | cppu/source/threadpool/current.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cppu/source/threadpool/current.cxx b/cppu/source/threadpool/current.cxx index 46fdc8c253f3..aefd85f3d1b0 100644 --- a/cppu/source/threadpool/current.cxx +++ b/cppu/source/threadpool/current.cxx @@ -40,10 +40,10 @@ namespace cppu static typelib_InterfaceTypeDescription * get_type_XCurrentContext() { static typelib_InterfaceTypeDescription* s_type_XCurrentContext = []() { - OUString sTypeName("com.sun.star.uno.XCurrentContext"); + OUString sTypeName(u"com.sun.star.uno.XCurrentContext"_ustr); typelib_InterfaceTypeDescription* pTD = nullptr; typelib_TypeDescriptionReference* pMembers[1] = { nullptr }; - OUString sMethodName0("com.sun.star.uno.XCurrentContext::getValueByName"); + OUString sMethodName0(u"com.sun.star.uno.XCurrentContext::getValueByName"_ustr); typelib_typedescriptionreference_new(&pMembers[0], typelib_TypeClass_INTERFACE_METHOD, sMethodName0.pData); typelib_typedescription_newInterface( @@ -55,17 +55,17 @@ static typelib_InterfaceTypeDescription * get_type_XCurrentContext() typelib_InterfaceMethodTypeDescription* pMethod = nullptr; typelib_Parameter_Init aParameters[1]; - OUString sParamName0("Name"); - OUString sParamType0("string"); + OUString sParamName0(u"Name"_ustr); + OUString sParamType0(u"string"_ustr); aParameters[0].pParamName = sParamName0.pData; aParameters[0].eTypeClass = typelib_TypeClass_STRING; aParameters[0].pTypeName = sParamType0.pData; aParameters[0].bIn = true; aParameters[0].bOut = false; rtl_uString* pExceptions[1]; - OUString sExceptionName0("com.sun.star.uno.RuntimeException"); + OUString sExceptionName0(u"com.sun.star.uno.RuntimeException"_ustr); pExceptions[0] = sExceptionName0.pData; - OUString sReturnType0("any"); + OUString sReturnType0(u"any"_ustr); typelib_typedescription_newInterfaceMethod(&pMethod, 3, false, sMethodName0.pData, typelib_TypeClass_ANY, sReturnType0.pData, 1, aParameters, 1, pExceptions); |