summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Lingner <jl@openoffice.org>2010-10-27 14:33:45 +0200
committerJoachim Lingner <jl@openoffice.org>2010-10-27 14:33:45 +0200
commitd3c7714e15ee5e048e24555af324381a0de6cb23 (patch)
tree6fe55225bf72e52cc78a93f1d3116e29fc0dd6b2
parent03a26afa7cefcc99ebfce60050581cd9adf5822f (diff)
jl162 #i115180# fix problems with latest java 1.6.0_22 on MacOS 10.6
-rw-r--r--jvmfwk/source/elements.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/jvmfwk/source/elements.cxx b/jvmfwk/source/elements.cxx
index 1b14f9715..9a2d8a43d 100644
--- a/jvmfwk/source/elements.cxx
+++ b/jvmfwk/source/elements.cxx
@@ -938,8 +938,7 @@ 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.
- if (nRequirements & JFW_REQUIRE_NEEDRESTART)
- nRequirements ^= JFW_REQUIRE_NEEDRESTART;
+ nRequirements &= ~JFW_REQUIRE_NEEDRESTART;
#endif
}
else if (xmlStrcmp(cur->name, (xmlChar*) "vendorData") == 0)