summaryrefslogtreecommitdiff
path: root/unoxml/source
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source')
-rw-r--r--unoxml/source/dom/element.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unoxml/source/dom/element.cxx b/unoxml/source/dom/element.cxx
index f1f10506501f..1b935050043d 100644
--- a/unoxml/source/dom/element.cxx
+++ b/unoxml/source/dom/element.cxx
@@ -81,14 +81,14 @@ namespace DOM
OUString prefix = pNode->getPrefix();
OUString name = (prefix.isEmpty())
? pNode->getLocalName()
- : prefix + OUString(':') + pNode->getLocalName();
+ : prefix + ":" + pNode->getLocalName();
OUString val = pNode->getNodeValue();
pAttrs->AddAttribute(name, type, val);
}
OUString prefix = getPrefix();
OUString name = (prefix.isEmpty())
? getLocalName()
- : prefix + OUString(':') + getLocalName();
+ : prefix + ":" + getLocalName();
Reference< XAttributeList > xAttrList(pAttrs);
i_xHandler->startElement(name, xAttrList);
// recurse