summaryrefslogtreecommitdiff
path: root/poppler/StructTreeRoot.h
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2018-10-05 00:05:58 +0200
committerAlbert Astals Cid <aacid@kde.org>2018-10-05 00:05:58 +0200
commit3edd00c7a0a7047bc530b77587e60b5e59b53641 (patch)
tree45d1ed7ac23c227458dde63d943399c7e7d47632 /poppler/StructTreeRoot.h
parent2f5ad138924ce4e236455b0e4493d4d869c76397 (diff)
Some more NULL to nullptr
Diffstat (limited to 'poppler/StructTreeRoot.h')
-rw-r--r--poppler/StructTreeRoot.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/poppler/StructTreeRoot.h b/poppler/StructTreeRoot.h
index 90848649..75978058 100644
--- a/poppler/StructTreeRoot.h
+++ b/poppler/StructTreeRoot.h
@@ -38,8 +38,8 @@ public:
StructTreeRoot(const StructTreeRoot &) = delete;
PDFDoc *getDoc() { return doc; }
- Dict *getRoleMap() { return roleMap.isDict() ? roleMap.getDict() : NULL; }
- Dict *getClassMap() { return classMap.isDict() ? classMap.getDict() : NULL; }
+ Dict *getRoleMap() { return roleMap.isDict() ? roleMap.getDict() : nullptr; }
+ Dict *getClassMap() { return classMap.isDict() ? classMap.getDict() : nullptr; }
unsigned getNumChildren() const { return elements.size(); }
const StructElement *getChild(int i) const { return elements.at(i); }
StructElement *getChild(int i) { return elements.at(i); }
@@ -57,7 +57,7 @@ public:
return it->second[mcid].element;
}
}
- return NULL;
+ return nullptr;
}
private: