diff options
Diffstat (limited to 'unoxml/source/dom/attr.cxx')
-rw-r--r-- | unoxml/source/dom/attr.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/unoxml/source/dom/attr.cxx b/unoxml/source/dom/attr.cxx index 68c5c82a4e6b..f835e6dab6de 100644 --- a/unoxml/source/dom/attr.cxx +++ b/unoxml/source/dom/attr.cxx @@ -238,8 +238,7 @@ namespace DOM if (m_pNamespace.get()) { OSL_ASSERT(!m_aNodePtr->parent); - OUString const ret(OStringToOUString( - m_pNamespace->second, RTL_TEXTENCODING_UTF8)); + OUString const ret(OUString::fromUtf8(m_pNamespace->second)); return ret; } else { return CNode::getPrefix(); @@ -255,8 +254,7 @@ namespace DOM if (m_pNamespace.get()) { OSL_ASSERT(!m_aNodePtr->parent); - OUString const ret(OStringToOUString( - m_pNamespace->first, RTL_TEXTENCODING_UTF8)); + OUString const ret(OUString::fromUtf8(m_pNamespace->first)); return ret; } else { return CNode::getNamespaceURI(); |