summaryrefslogtreecommitdiff
path: root/javaunohelper/source/bootstrap.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-11-09 10:39:35 +0200
committerTor Lillqvist <tml@iki.fi>2012-11-09 10:51:00 +0200
commit9a745cbf549aa391be2b67f41c83056bd44db97a (patch)
treeb8486a4d44051d5f422c8d1cad48b1658265be41 /javaunohelper/source/bootstrap.cxx
parent0aa1baa80b439740f176249d4f05007f715cf2b0 (diff)
Introdude SAL_JNI_EXPORT and use that instead of JNIEXPORT
Use it in the cases where I yesterday changed SAL_DLLPUBLIC_EXPORT to JNIEXPORT. It turns out that on Linux JNIEXPORT does not enforce "default" visibility, but expands to empty. Change-Id: I033b3cf538715fb596e965e17f3da12fb987df63
Diffstat (limited to 'javaunohelper/source/bootstrap.cxx')
-rw-r--r--javaunohelper/source/bootstrap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/javaunohelper/source/bootstrap.cxx b/javaunohelper/source/bootstrap.cxx
index 2e9fff19a956..558a853e6f53 100644
--- a/javaunohelper/source/bootstrap.cxx
+++ b/javaunohelper/source/bootstrap.cxx
@@ -66,7 +66,7 @@ inline ::rtl::OUString jstring_to_oustring( jstring jstr, JNIEnv * jni_env )
}
//==================================================================================================
-extern "C" JNIEXPORT jobject JNICALL Java_com_sun_star_comp_helper_Bootstrap_cppuhelper_1bootstrap(
+extern "C" SAL_JNI_EXPORT jobject JNICALL Java_com_sun_star_comp_helper_Bootstrap_cppuhelper_1bootstrap(
JNIEnv * jni_env, SAL_UNUSED_PARAMETER jclass, jstring juno_rc, jobjectArray jpairs,
jobject loader )
{