summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/entity.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/dom/entity.cxx')
-rw-r--r--unoxml/source/dom/entity.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/unoxml/source/dom/entity.cxx b/unoxml/source/dom/entity.cxx
index 269237e0642c..61d0420c60eb 100644
--- a/unoxml/source/dom/entity.cxx
+++ b/unoxml/source/dom/entity.cxx
@@ -70,7 +70,7 @@ namespace DOM
::osl::MutexGuard const g(m_rMutex);
OUString aID;
- if(m_aEntityPtr != NULL)
+ if(m_aEntityPtr != nullptr)
{
aID = OUString(reinterpret_cast<char const *>(m_aEntityPtr->ExternalID), strlen(reinterpret_cast<char const *>(m_aEntityPtr->ExternalID)), RTL_TEXTENCODING_UTF8);
}
@@ -85,7 +85,7 @@ namespace DOM
::osl::MutexGuard const g(m_rMutex);
OUString aID;
- if(m_aEntityPtr != NULL)
+ if(m_aEntityPtr != nullptr)
{
aID = OUString(reinterpret_cast<char const *>(m_aEntityPtr->SystemID), strlen(reinterpret_cast<char const *>(m_aEntityPtr->SystemID)), RTL_TEXTENCODING_UTF8);
}
@@ -96,7 +96,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);