summaryrefslogtreecommitdiff
path: root/unoxml/qa/complex/unoxml/DOMTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/qa/complex/unoxml/DOMTest.java')
-rw-r--r--unoxml/qa/complex/unoxml/DOMTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/unoxml/qa/complex/unoxml/DOMTest.java b/unoxml/qa/complex/unoxml/DOMTest.java
index 3a44eaf4a41b..0211da376eed 100644
--- a/unoxml/qa/complex/unoxml/DOMTest.java
+++ b/unoxml/qa/complex/unoxml/DOMTest.java
@@ -2560,7 +2560,7 @@ public class DOMTest
}
try {
- XNode xResult = xXPathAPI.selectSingleNode(xDoc, "//pre:foo");
+ xXPathAPI.selectSingleNode(xDoc, "//pre:foo");
fail("XXPathAPI.selectSingleNode");
} catch (XPathException e) { /* expected */ }
xXPathAPI.registerNS("pre", ns);
@@ -2572,7 +2572,7 @@ public class DOMTest
xXPathAPI.unregisterNS("pre", ns);
try {
- XNode xResult = xXPathAPI.selectSingleNode(xDoc, "//pre:foo");
+ xXPathAPI.selectSingleNode(xDoc, "//pre:foo");
fail("XXPathAPI.unregisterNS");
} catch (XPathException e) { /* expected */ }