summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/entityreference.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/dom/entityreference.cxx')
-rw-r--r--unoxml/source/dom/entityreference.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unoxml/source/dom/entityreference.cxx b/unoxml/source/dom/entityreference.cxx
index ebe19dcdaeb1..6d62e69d576c 100644
--- a/unoxml/source/dom/entityreference.cxx
+++ b/unoxml/source/dom/entityreference.cxx
@@ -56,8 +56,8 @@ namespace DOM
OUString aName;
if (m_aNodePtr != nullptr)
{
- const xmlChar* xName = m_aNodePtr->name;
- aName = OUString(reinterpret_cast<char const *>(xName), strlen(reinterpret_cast<char const *>(xName)), RTL_TEXTENCODING_UTF8);
+ const xmlChar* pName = m_aNodePtr->name;
+ aName = OUString(reinterpret_cast<char const *>(pName), strlen(reinterpret_cast<char const *>(pName)), RTL_TEXTENCODING_UTF8);
}
return aName;
}