summaryrefslogtreecommitdiff
path: root/cppu/source/threadpool
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/source/threadpool')
-rw-r--r--cppu/source/threadpool/current.cxx12
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);