Index: fpdfsdk/fpdfsave.cpp |
diff --git a/fpdfsdk/fpdfsave.cpp b/fpdfsdk/fpdfsave.cpp |
index 4dfe120d32dde47c5731b5fdbfe25b162b9ea9c3..364f4d2d6f2a7113afe718e878e28245d03a5a26 100644 |
--- a/fpdfsdk/fpdfsave.cpp |
+++ b/fpdfsdk/fpdfsave.cpp |
@@ -83,6 +83,9 @@ |
if (pDocument->GetDocType() != DOCTYPE_DYNAMIC_XFA && |
pDocument->GetDocType() != DOCTYPE_STATIC_XFA) |
+ return true; |
+ |
+ if (!CPDFXFA_App::GetInstance()->GetXFAApp()) |
return true; |
CXFA_FFDocView* pXFADocView = pDocument->GetXFADocView(); |