[poppler] glib/poppler-attachment.cc glib/poppler-document.cc
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Nov 7 14:27:39 UTC 2018
glib/poppler-attachment.cc | 2 +-
glib/poppler-document.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 426834dbf1c0981593773697a2c47308ecc38593
Author: Albert Astals Cid <aacid at kde.org>
Date: Wed Nov 7 15:26:56 2018 +0100
NULL -> nullptr
diff --git a/glib/poppler-attachment.cc b/glib/poppler-attachment.cc
index 87baef22..b2677f2c 100644
--- a/glib/poppler-attachment.cc
+++ b/glib/poppler-attachment.cc
@@ -105,7 +105,7 @@ _poppler_attachment_new (FileSpec *emb_file)
attachment->description = _poppler_goo_string_to_utf8 (emb_file->getDescription ());
embFile = emb_file->getEmbeddedFile();
- if (embFile != NULL && embFile->streamObject()->isStream())
+ if (embFile != nullptr && embFile->streamObject()->isStream())
{
attachment->size = embFile->size ();
diff --git a/glib/poppler-document.cc b/glib/poppler-document.cc
index eb620609..29eab496 100644
--- a/glib/poppler-document.cc
+++ b/glib/poppler-document.cc
@@ -674,7 +674,7 @@ poppler_document_get_attachments (PopplerDocument *document)
attachment = _poppler_attachment_new (emb_file);
delete emb_file;
- if (attachment != NULL)
+ if (attachment != nullptr)
retval = g_list_prepend (retval, attachment);
}
return g_list_reverse (retval);
More information about the poppler
mailing list