diff options
author | Joachim Lingner <jl@openoffice.org> | 2004-05-04 07:43:42 +0000 |
---|---|---|
committer | Joachim Lingner <jl@openoffice.org> | 2004-05-04 07:43:42 +0000 |
commit | 1d0171dd533c45b1073e5f7eabe9f040dddbb007 (patch) | |
tree | e44572154b7740c01948143611711bac123e8293 /jvmfwk/source | |
parent | 0ec1aec72c97acb11e4c8f51ca6614764bf911ba (diff) |
#i20052#
Diffstat (limited to 'jvmfwk/source')
-rw-r--r-- | jvmfwk/source/framework.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/jvmfwk/source/framework.cxx b/jvmfwk/source/framework.cxx index b6db069bf4ba..ddaf79c68283 100644 --- a/jvmfwk/source/framework.cxx +++ b/jvmfwk/source/framework.cxx @@ -2,9 +2,9 @@ * * $RCSfile: framework.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: jl $ $Date: 2004-04-28 10:13:23 $ + * last change: $Author: jl $ $Date: 2004-05-04 08:43:42 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -676,7 +676,10 @@ javaFrameworkError SAL_CALL jfw_getSelectedJRE(JavaInfo **ppInfo) { jfw::CJavaInfo aInfo(aSettings.getJavaInfo()); if (aInfo == NULL) - return JFW_E_NO_SELECT; + { + *ppInfo = NULL; + return JFW_E_NONE; + } //If the javavendors.xml has changed, then the current selected //Java is not valid anymore // /java/javaInfo/@vendorUpdate != javaSelection/updated (javavendors.xml) |