Commit 426834db authored by Albert Astals Cid's avatar Albert Astals Cid

NULL -> nullptr

parent b8cae888
......@@ -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 ();
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment