diff options
author | Daniel Boelzle <dbo@openoffice.org> | 2002-11-14 15:31:02 +0000 |
---|---|---|
committer | Daniel Boelzle <dbo@openoffice.org> | 2002-11-14 15:31:02 +0000 |
commit | 5f6e7f6dcf66e8fe0bd0279da40ea18404889cca (patch) | |
tree | 3a7c5a9e33b9f9c1bcee539f21866c65409bb5f6 /javaunohelper | |
parent | 0aa6158f25cd8fb79032a45e5097a1928d294066 (diff) |
#103453# typo
Diffstat (limited to 'javaunohelper')
-rw-r--r-- | javaunohelper/source/bootstrap.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/javaunohelper/source/bootstrap.cxx b/javaunohelper/source/bootstrap.cxx index ed4bf7e556e6..ca425a522828 100644 --- a/javaunohelper/source/bootstrap.cxx +++ b/javaunohelper/source/bootstrap.cxx @@ -2,9 +2,9 @@ * * $RCSfile: bootstrap.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: dbo $ $Date: 2002-11-14 15:29:55 $ + * last change: $Author: dbo $ $Date: 2002-11-14 16:31:02 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -101,7 +101,7 @@ void get_java_env( Environment * java_env, JNIEnv * jni_env ) SAL_THROW( () ) JavaVM * vm; jni_env->GetJavaVM( &vm ); ::JavaVMContext * jvm_context = new JavaVMContext( vm ); - JVM_registration_guard guard( jvm_context ); + JVM_registration_guard jvm_guard( jvm_context ); uno_getEnvironment( (uno_Environment **)java_env, java_env_name.pData, jvm_context ); } } @@ -159,7 +159,7 @@ extern "C" JNIEXPORT jobject JNICALL Java_com_sun_star_comp_helper_Bootstrap_cpp if (! java_env.is()) throw RuntimeException( OUSTR("cannot get java env!"), Reference< XInterface >() ); // register before doing any complex uno that may call java (beware of detaching!) - JVM_registration_guard( java_env.get() ); + JVM_registration_guard jvm_guard( java_env.get() ); // bootstrap uno Reference< XComponentContext > xContext; |