Index: core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp |
diff --git a/core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp b/core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp |
index 4df841fb759d93c3f35b49ddeae7f0ab0875a3f1..eda51deb3b711d1750b5063feae34c97623309a8 100644 |
--- a/core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp |
+++ b/core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp |
@@ -45,7 +45,7 @@ void CPDF_PageContentGenerate::GenerateContent() { |
} |
CPDF_Object* pContent = |
pPageDict ? pPageDict->GetElementValue("Contents") : NULL; |
- if (pContent != NULL) { |
+ if (pContent) { |
pPageDict->RemoveAt("Contents"); |
} |
CPDF_Stream* pStream = new CPDF_Stream(NULL, 0, NULL); |