diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-09 13:37:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-09 17:59:45 +0200 |
commit | 227078bc8d1e37d80eab2d50478ec5fc6345a616 (patch) | |
tree | 738624d1af9f9e2206e72ec5cd423df4d35e7810 /javaunohelper/source/javaunohelper.cxx | |
parent | 38c980d472b5d311de60ee7cfcce880f66a55df8 (diff) |
loplugin:ostr in javaunohelper
Change-Id: I641f2d107e3a8aaabdd2f8ede10e7e6b13078602
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167384
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'javaunohelper/source/javaunohelper.cxx')
-rw-r--r-- | javaunohelper/source/javaunohelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/javaunohelper/source/javaunohelper.cxx b/javaunohelper/source/javaunohelper.cxx index 8db57c5b78f3..970b20b64b14 100644 --- a/javaunohelper/source/javaunohelper.cxx +++ b/javaunohelper/source/javaunohelper.cxx @@ -94,7 +94,7 @@ jboolean Java_com_sun_star_comp_helper_SharedLibraryLoader_component_1writeInfo( // create vm access ::rtl::Reference< ::jvmaccess::UnoVirtualMachine > vm_access( ::javaunohelper::create_vm_access( pJEnv, loader ) ); - OUString java_env_name = UNO_LB_JAVA; + OUString java_env_name = u"" UNO_LB_JAVA ""_ustr; uno_getEnvironment( reinterpret_cast<uno_Environment **>(&java_env), java_env_name.pData, vm_access.get() ); @@ -184,7 +184,7 @@ jobject Java_com_sun_star_comp_helper_SharedLibraryLoader_component_1getFactory( // create vm access ::rtl::Reference< ::jvmaccess::UnoVirtualMachine > vm_access( ::javaunohelper::create_vm_access( pJEnv, loader ) ); - OUString java_env_name = UNO_LB_JAVA; + OUString java_env_name = u"" UNO_LB_JAVA ""_ustr; uno_getEnvironment( reinterpret_cast<uno_Environment **>(&java_env), java_env_name.pData, vm_access.get() ); |