summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/childlist.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/dom/childlist.cxx')
-rw-r--r--unoxml/source/dom/childlist.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/unoxml/source/dom/childlist.cxx b/unoxml/source/dom/childlist.cxx
index e993d64fb2fd..d301d7aa9a59 100644
--- a/unoxml/source/dom/childlist.cxx
+++ b/unoxml/source/dom/childlist.cxx
@@ -44,13 +44,13 @@ namespace DOM
::osl::MutexGuard const g(m_rMutex);
sal_Int32 length = 0;
- if (m_pNode != NULL)
+ if (m_pNode != nullptr)
{
xmlNodePtr cur = m_pNode->GetNodePtr();
- if (0 != cur) {
+ if (nullptr != cur) {
cur = cur->children;
}
- while (cur != NULL)
+ while (cur != nullptr)
{
length++;
cur = cur->next;
@@ -67,13 +67,13 @@ namespace DOM
{
::osl::MutexGuard const g(m_rMutex);
- if (m_pNode != NULL)
+ if (m_pNode != nullptr)
{
xmlNodePtr cur = m_pNode->GetNodePtr();
- if (0 != cur) {
+ if (nullptr != cur) {
cur = cur->children;
}
- while (cur != NULL)
+ while (cur != nullptr)
{
if (index-- == 0) {
return Reference< XNode >(
@@ -82,7 +82,7 @@ namespace DOM
cur = cur->next;
}
}
- return 0;
+ return nullptr;
}
}