summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/page/cpdf_image.cpp')
-rw-r--r--core/fpdfapi/page/cpdf_image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_image.cpp b/core/fpdfapi/page/cpdf_image.cpp
index 64d0114eb9..29d10e1d6b 100644
--- a/core/fpdfapi/page/cpdf_image.cpp
+++ b/core/fpdfapi/page/cpdf_image.cpp
@@ -63,7 +63,7 @@ CPDF_Image::~CPDF_Image() {
}
CPDF_Image* CPDF_Image::Clone() {
- if (m_pStream->GetObjNum())
+ if (!m_pStream->IsInline())
return m_pDocument->GetPageData()->GetImage(m_pStream);
CPDF_Image* pImage =