summaryrefslogtreecommitdiff
path: root/ACE/ace/XML_Utils/XSCRT/XML.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/XML_Utils/XSCRT/XML.hpp')
-rw-r--r--ACE/ace/XML_Utils/XSCRT/XML.hpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/ACE/ace/XML_Utils/XSCRT/XML.hpp b/ACE/ace/XML_Utils/XSCRT/XML.hpp
index ce4b51284b3..6f2079e2852 100644
--- a/ACE/ace/XML_Utils/XSCRT/XML.hpp
+++ b/ACE/ace/XML_Utils/XSCRT/XML.hpp
@@ -460,15 +460,11 @@ namespace XSCRT
{
string xns (ns);
-#if defined(XERCES_VERSION_MAJOR) && XERCES_VERSION_MAJOR > 2
XMLCh const* p (e.dom_element ()->lookupPrefix (xns.c_str ()));
-#else
- XMLCh const* p (e.dom_element ()->lookupNamespacePrefix (xns.c_str (), false));
-#endif
if (p == 0)
{
- bool r (e.dom_element ()->isDefaultNamespace (xns.c_str ()));
+ bool const r (e.dom_element ()->isDefaultNamespace (xns.c_str ()));
if (r)
{