diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-10-12 15:47:07 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-10-12 15:47:07 -0700 |
commit | a8a39e25af3c19bb91434fdf367cffa0e1536934 (patch) | |
tree | d6bfa30a756014ec79dfce75d6658ecf3778594a /fpdfsdk/src/fpdfsave.cpp | |
parent | 5ef9faa8e8f5593556d78f775d86f1e52e4c341a (diff) | |
download | pdfium-a8a39e25af3c19bb91434fdf367cffa0e1536934.tar.xz |
Allow building of XFA branch without XFA
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1399833002 .
Diffstat (limited to 'fpdfsdk/src/fpdfsave.cpp')
-rw-r--r-- | fpdfsdk/src/fpdfsave.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fpdfsdk/src/fpdfsave.cpp b/fpdfsdk/src/fpdfsave.cpp index 7a666bceb8..2cfbb81cd0 100644 --- a/fpdfsdk/src/fpdfsave.cpp +++ b/fpdfsdk/src/fpdfsave.cpp @@ -60,6 +60,7 @@ void CFX_IFileWrite::Release() { FX_BOOL _SaveXFADocumentData(CPDFXFA_Document* pDocument, CFX_PtrArray& fileList) { +#ifdef PDF_ENABLE_XFA if (!pDocument) return FALSE; if (pDocument->GetDocType() != DOCTYPE_DYNIMIC_XFA && @@ -228,6 +229,8 @@ FX_BOOL _SaveXFADocumentData(CPDFXFA_Document* pDocument, } } pContext->Release(); +#endif // PDF_ENABLE_XFA + return TRUE; } |