summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/notation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/dom/notation.cxx')
-rw-r--r--unoxml/source/dom/notation.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/dom/notation.cxx b/unoxml/source/dom/notation.cxx
index 44a8a24a935b..fa9e1d74ee67 100644
--- a/unoxml/source/dom/notation.cxx
+++ b/unoxml/source/dom/notation.cxx
@@ -62,7 +62,7 @@ namespace DOM
if (m_aNodePtr != NULL)
{
const xmlChar* xName = m_aNodePtr->name;
- aName = OUString((sal_Char*)xName, strlen((char*)xName), RTL_TEXTENCODING_UTF8);
+ aName = OUString(reinterpret_cast<char const *>(xName), strlen(reinterpret_cast<char const *>(xName)), RTL_TEXTENCODING_UTF8);
}
return aName;
}