summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/notation.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:28:02 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:58 +0100
commit6dea86213c495721790462a7037b0fafc6efa522 (patch)
tree67bb0fe226c6c8e74e5a640c910da89ff110d458 /unoxml/source/dom/notation.cxx
parentcf7dc8bc19650fe5e814205b512dffad8299c276 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I4f9d6c93a0bdbba290277a41537ba2728d1ee4f5
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 fa9e1d74ee67..f64e31bca34b 100644
--- a/unoxml/source/dom/notation.cxx
+++ b/unoxml/source/dom/notation.cxx
@@ -59,7 +59,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);