summaryrefslogtreecommitdiff
path: root/javaunohelper
diff options
context:
space:
mode:
Diffstat (limited to 'javaunohelper')
-rw-r--r--javaunohelper/source/bootstrap.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/javaunohelper/source/bootstrap.cxx b/javaunohelper/source/bootstrap.cxx
index 75f171c29a5a..4e2c10047967 100644
--- a/javaunohelper/source/bootstrap.cxx
+++ b/javaunohelper/source/bootstrap.cxx
@@ -160,7 +160,7 @@ extern "C" JNIEXPORT jobject JNICALL Java_com_sun_star_comp_helper_Bootstrap_cpp
return jlocal;
}
- catch (RuntimeException & exc)
+ catch (const RuntimeException & exc)
{
jclass c = jni_env->FindClass( "com/sun/star/uno/RuntimeException" );
if (0 != c)
@@ -171,7 +171,7 @@ extern "C" JNIEXPORT jobject JNICALL Java_com_sun_star_comp_helper_Bootstrap_cpp
jni_env->ThrowNew( c, cstr.getStr() );
}
}
- catch (Exception & exc)
+ catch (const Exception & exc)
{
jclass c = jni_env->FindClass( "com/sun/star/uno/Exception" );
if (0 != c)