summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/fpdfapi/page/cpdf_pageobjectholder.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_pageobjectholder.cpp b/core/fpdfapi/page/cpdf_pageobjectholder.cpp
index 310858f7c8..06fb3f26ea 100644
--- a/core/fpdfapi/page/cpdf_pageobjectholder.cpp
+++ b/core/fpdfapi/page/cpdf_pageobjectholder.cpp
@@ -35,8 +35,10 @@ bool CPDF_PageObjectHolder::IsPage() const {
}
void CPDF_PageObjectHolder::ContinueParse(PauseIndicatorIface* pPause) {
- if (!m_pParser)
+ if (!m_pParser) {
+ m_ParseState = CONTENT_PARSED;
return;
+ }
if (m_pParser->Continue(pPause))
return;