summaryrefslogtreecommitdiff
path: root/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
diff options
context:
space:
mode:
authorJoachim Lingner <jl@openoffice.org>2004-05-07 13:49:41 +0000
committerJoachim Lingner <jl@openoffice.org>2004-05-07 13:49:41 +0000
commit5def523f04bea8fbb65ea83648040df1741bb8a6 (patch)
treea296afe3990be4705a51c068d64e83f5b6c5ee06 /jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
parentb21347f0dce6d55c17a4f82946a9a092a1259a2a (diff)
#i20052#
Diffstat (limited to 'jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx')
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
index 31683d0520c3..34b4094dd1df 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sunjavaplugin.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: jl $ $Date: 2004-05-06 11:44:47 $
+ * last change: $Author: jl $ $Date: 2004-05-07 14:49:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -398,7 +398,7 @@ javaPluginError startJavaVirtualMachine(
sSymbolCreateJava, osl_getThreadTextEncoding());
fprintf(stderr,"Java runtime library: %s does not export symbol %s !",
sLib.getStr(), sSymbol.getStr());
- return JFW_PLUGIN_E_ERROR;
+ return JFW_PLUGIN_E_VM_CREATION_FAILED;
}
// The office sets a signal handler at startup. That causes a crash
@@ -496,12 +496,12 @@ javaPluginError startJavaVirtualMachine(
if( err < 0)
{
fprintf(stderr,"Can not create Java Virtual Machine");
- errcode = JFW_PLUGIN_E_ERROR;
+ errcode = JFW_PLUGIN_E_VM_CREATION_FAILED;
}
else if( err > 0)
{
fprintf(stderr,"Can not create JavaVirtualMachine, abort handler was called");
- errcode = JFW_PLUGIN_E_ERROR;
+ errcode = JFW_PLUGIN_E_VM_CREATION_FAILED;
}
}
else