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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/dom/entityreference.cxx b/unoxml/source/dom/entityreference.cxx
index 6ef84b26cb99..ebe19dcdaeb1 100644
--- a/unoxml/source/dom/entityreference.cxx
+++ b/unoxml/source/dom/entityreference.cxx
@@ -54,7 +54,7 @@ namespace DOM
::osl::MutexGuard const g(m_rMutex);
OUString aName;
- if (m_aNodePtr != NULL)
+ 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);