summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpdf_interform.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfdoc/cpdf_interform.h')
-rw-r--r--core/fpdfdoc/cpdf_interform.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/core/fpdfdoc/cpdf_interform.h b/core/fpdfdoc/cpdf_interform.h
index fbff0289a1..f03ffb1e60 100644
--- a/core/fpdfdoc/cpdf_interform.h
+++ b/core/fpdfdoc/cpdf_interform.h
@@ -73,12 +73,14 @@ class CPDF_InterForm {
const std::vector<CPDF_FormField*>* fields,
bool bIncludeOrExclude) const;
- CFDF_Document* ExportToFDF(const CFX_WideStringC& pdf_path,
- bool bSimpleFileSpec) const;
- CFDF_Document* ExportToFDF(const CFX_WideStringC& pdf_path,
- const std::vector<CPDF_FormField*>& fields,
- bool bIncludeOrExclude,
- bool bSimpleFileSpec) const;
+ std::unique_ptr<CFDF_Document> ExportToFDF(const CFX_WideStringC& pdf_path,
+ bool bSimpleFileSpec) const;
+
+ std::unique_ptr<CFDF_Document> ExportToFDF(
+ const CFX_WideStringC& pdf_path,
+ const std::vector<CPDF_FormField*>& fields,
+ bool bIncludeOrExclude,
+ bool bSimpleFileSpec) const;
bool ResetForm(const std::vector<CPDF_FormField*>& fields,
bool bIncludeOrExclude,