diff options
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/source/dom/saxbuilder.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/dom/saxbuilder.cxx b/unoxml/source/dom/saxbuilder.cxx index fb79fff881a8..f91851b6040e 100644 --- a/unoxml/source/dom/saxbuilder.cxx +++ b/unoxml/source/dom/saxbuilder.cxx @@ -231,7 +231,7 @@ namespace DOM newprefix = attr_qname.copy(attr_qname.indexOf(':')+1); aNSMap.insert(NSMap::value_type(newprefix, attr_value)); } - else if (attr_qname == OUString(RTL_CONSTASCII_USTRINGPARAM("xmlns"))) + else if (attr_qname.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("xmlns"))) { // new default prefix aNSMap.insert(NSMap::value_type(OUString(), attr_value)); |