summaryrefslogtreecommitdiffstats
path: root/jvmfwk/source/elements.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'jvmfwk/source/elements.cxx')
-rw-r--r--jvmfwk/source/elements.cxx15
1 files changed, 5 insertions, 10 deletions
diff --git a/jvmfwk/source/elements.cxx b/jvmfwk/source/elements.cxx
index 64373f31c8b0..57134e19b35d 100644
--- a/jvmfwk/source/elements.cxx
+++ b/jvmfwk/source/elements.cxx
@@ -409,8 +409,7 @@ void NodeJava::write() const
//The element must exist
if (m_enabled)
{
- OString sExpression= OString(
- "/jf:java/jf:enabled");
+ OString sExpression("/jf:java/jf:enabled");
pathObj = xmlXPathEvalExpression(reinterpret_cast<xmlChar const *>(sExpression.getStr()),
contextUser);
if ( ! pathObj || xmlXPathNodeSetIsEmpty(pathObj->nodesetval))
@@ -432,8 +431,7 @@ void NodeJava::write() const
//The element must exist
if (m_userClassPath)
{
- OString sExpression= OString(
- "/jf:java/jf:userClassPath");
+ OString sExpression("/jf:java/jf:userClassPath");
pathObj = xmlXPathEvalExpression(reinterpret_cast<xmlChar const *>(sExpression.getStr()),
contextUser);
if ( ! pathObj || xmlXPathNodeSetIsEmpty(pathObj->nodesetval))
@@ -447,8 +445,7 @@ void NodeJava::write() const
//set <javaInfo> element
if (m_javaInfo)
{
- OString sExpression= OString(
- "/jf:java/jf:javaInfo");
+ OString sExpression("/jf:java/jf:javaInfo");
pathObj = xmlXPathEvalExpression(reinterpret_cast<xmlChar const *>(sExpression.getStr()),
contextUser);
if ( ! pathObj || xmlXPathNodeSetIsEmpty(pathObj->nodesetval))
@@ -460,8 +457,7 @@ void NodeJava::write() const
//set <vmParameters> element
if (m_vmParameters)
{
- OString sExpression= OString(
- "/jf:java/jf:vmParameters");
+ OString sExpression("/jf:java/jf:vmParameters");
pathObj = xmlXPathEvalExpression(reinterpret_cast<xmlChar const *>(sExpression.getStr()),
contextUser);
if ( ! pathObj || xmlXPathNodeSetIsEmpty(pathObj->nodesetval))
@@ -500,8 +496,7 @@ void NodeJava::write() const
//set <jreLocations> element
if (m_JRELocations)
{
- OString sExpression= OString(
- "/jf:java/jf:jreLocations");
+ OString sExpression("/jf:java/jf:jreLocations");
pathObj = xmlXPathEvalExpression(reinterpret_cast<xmlChar const *>(sExpression.getStr()),
contextUser);
if ( ! pathObj || xmlXPathNodeSetIsEmpty(pathObj->nodesetval))