summaryrefslogtreecommitdiff
path: root/unoxml/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-14 08:16:35 +0200
committerNoel Grandin <noel@peralex.com>2013-11-14 08:17:32 +0200
commitd366c9b20ec86f3fe521812a0c22def3bfd1f05e (patch)
tree4bd09438c8cd8f0dbcd0881fc923d56a0a721fc5 /unoxml/source
parentd2fa59e4025050c9b668ecff379d668f0db52639 (diff)
remove unnecessary sal_Unicode casts in various places
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
Diffstat (limited to 'unoxml/source')
-rw-r--r--unoxml/source/dom/element.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/unoxml/source/dom/element.cxx b/unoxml/source/dom/element.cxx
index e41420a2e7a9..06774446792b 100644
--- a/unoxml/source/dom/element.cxx
+++ b/unoxml/source/dom/element.cxx
@@ -76,14 +76,14 @@ namespace DOM
OUString prefix = pNode->getPrefix();
OUString name = (prefix.isEmpty())
? pNode->getLocalName()
- : prefix + OUString(static_cast<sal_Unicode>(':')) + pNode->getLocalName();
+ : prefix + OUString(':') + pNode->getLocalName();
OUString val = pNode->getNodeValue();
pAttrs->AddAttribute(name, type, val);
}
OUString prefix = getPrefix();
OUString name = (prefix.isEmpty())
? getLocalName()
- : prefix + OUString(static_cast<sal_Unicode>(':')) + getLocalName();
+ : prefix + OUString(':') + getLocalName();
Reference< XAttributeList > xAttrList(pAttrs);
i_xHandler->startElement(name, xAttrList);
// recurse
@@ -503,7 +503,7 @@ namespace DOM
if (!oldAttr->getNamespaceURI().isEmpty()) {
OUStringBuffer qname(oldAttr->getPrefix());
if (!qname.isEmpty()) {
- qname.append(sal_Unicode(':'));
+ qname.append(':');
}
qname.append(oldAttr->getName());
aAttr = GetOwnerDocument().createAttributeNS(