summaryrefslogtreecommitdiff
path: root/poppler/Form.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/Form.h
parent2f5ad138924ce4e236455b0e4493d4d869c76397 (diff)
Some more NULL to nullptr
Diffstat (limited to 'poppler/Form.h')
-rw-r--r--poppler/Form.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/poppler/Form.h b/poppler/Form.h
index 5cc62266..4d126de3 100644
--- a/poppler/Form.h
+++ b/poppler/Form.h
@@ -315,7 +315,7 @@ public:
FormWidget* findWidgetByRef (Ref aref);
int getNumWidgets() { return terminal ? numChildren : 0; }
- FormWidget *getWidget(int i) { return terminal ? widgets[i] : NULL; }
+ FormWidget *getWidget(int i) { return terminal ? widgets[i] : nullptr; }
// only implemented in FormFieldButton
virtual void fillChildrenSiblingsID ();
@@ -457,8 +457,8 @@ public:
~FormFieldChoice();
int getNumChoices() const { return numChoices; }
- const GooString* getChoice(int i) const { return choices ? choices[i].optionName : NULL; }
- const GooString* getExportVal (int i) const { return choices ? choices[i].exportVal : NULL; }
+ const GooString* getChoice(int i) const { return choices ? choices[i].optionName : nullptr; }
+ const GooString* getExportVal (int i) const { return choices ? choices[i].exportVal : nullptr; }
// For multi-select choices it returns the first one
const GooString* getSelectedChoice() const;