Index: core/src/fpdfdoc/doc_tagged.cpp |
diff --git a/core/src/fpdfdoc/doc_tagged.cpp b/core/src/fpdfdoc/doc_tagged.cpp |
index e16d852ccb3b76a8b89c4c29c95ac61e0dde2ad5..a7eea11b02a705f8360ce558ce51227f7b8b0487 100644 |
--- a/core/src/fpdfdoc/doc_tagged.cpp |
+++ b/core/src/fpdfdoc/doc_tagged.cpp |
@@ -13,7 +13,7 @@ const int nMaxRecursion = 32; |
static FX_BOOL IsTagged(const CPDF_Document* pDoc) { |
CPDF_Dictionary* pCatalog = pDoc->GetRoot(); |
CPDF_Dictionary* pMarkInfo = pCatalog->GetDictBy("MarkInfo"); |
- return pMarkInfo != NULL && pMarkInfo->GetIntegerBy("Marked"); |
+ return pMarkInfo && pMarkInfo->GetIntegerBy("Marked"); |
} |
CPDF_StructTree* CPDF_StructTree::LoadPage(const CPDF_Document* pDoc, |
const CPDF_Dictionary* pPageDict) { |