diff options
author | Joachim Lingner <jl@openoffice.org> | 2010-10-27 13:53:26 +0200 |
---|---|---|
committer | Joachim Lingner <jl@openoffice.org> | 2010-10-27 13:53:26 +0200 |
commit | 03a26afa7cefcc99ebfce60050581cd9adf5822f (patch) | |
tree | 69866156df5977cf5582738e0279089f69dc2655 | |
parent | 33b3fb4a005f9822b3a3547db3395c816fb870c0 (diff) |
jl162 #i115180# fix problems with latest java 1.6.0_22 on MacOS 10.6
-rw-r--r-- | jvmfwk/source/elements.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jvmfwk/source/elements.cxx b/jvmfwk/source/elements.cxx index c2474e5c1..1b14f9715 100644 --- a/jvmfwk/source/elements.cxx +++ b/jvmfwk/source/elements.cxx @@ -938,7 +938,8 @@ void CNodeJavaInfo::loadFromNode(xmlDoc * pDoc, xmlNode * pJavaInfo) //nRequirements does not have the flag JFW_REQUIRE_NEEDRESTART the //jvm of the new selected JRE will be started. Old settings (before //OOo 3.3) still contain the flag which can be safely ignored. - nRequirements ^= JFW_REQUIRE_NEEDRESTART; + if (nRequirements & JFW_REQUIRE_NEEDRESTART) + nRequirements ^= JFW_REQUIRE_NEEDRESTART; #endif } else if (xmlStrcmp(cur->name, (xmlChar*) "vendorData") == 0) |