summaryrefslogtreecommitdiffstats
path: root/javaunohelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-06-04 11:33:37 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-06-04 13:55:50 +0200
commit59cd904caf5d4c5dd363e0c0b4d71e638f0ffe2a (patch)
tree95ae7b2e944a743a75f585cf24135eefe383f0fb /javaunohelper
parentUpcoming loplugin:elidestringvar: i18nlangtag (diff)
downloadcore-59cd904caf5d4c5dd363e0c0b4d71e638f0ffe2a.tar.gz
core-59cd904caf5d4c5dd363e0c0b4d71e638f0ffe2a.zip
Upcoming loplugin:elidestringvar: javaunohelper
Change-Id: Ia81a0f0b804eb41235e310deac5818731397fdd8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95492 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'javaunohelper')
-rw-r--r--javaunohelper/source/preload.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/javaunohelper/source/preload.cxx b/javaunohelper/source/preload.cxx
index d491e9b4dbfb..4868a1e55f5e 100644
--- a/javaunohelper/source/preload.cxx
+++ b/javaunohelper/source/preload.cxx
@@ -50,9 +50,8 @@ static bool inited_juhx( JNIEnv * jni_env )
{
if (s_inited)
return true;
- OUString lib_name = SAL_DLLPREFIX "juhx" SAL_DLLEXTENSION;
osl::Module aModule;
- if (!aModule.loadRelative(&thisModule, lib_name, SAL_LOADMODULE_LAZY | SAL_LOADMODULE_GLOBAL))
+ if (!aModule.loadRelative(&thisModule, SAL_DLLPREFIX "juhx" SAL_DLLEXTENSION, SAL_LOADMODULE_LAZY | SAL_LOADMODULE_GLOBAL))
{
jclass c = jni_env->FindClass( "java/lang/RuntimeException" );
jni_env->ThrowNew(