summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/fpdfapi/fpdf_page/include/cpdf_formobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/fpdfapi/fpdf_page/include/cpdf_formobject.h b/core/fpdfapi/fpdf_page/include/cpdf_formobject.h
index 03e117a132..5b146b268d 100644
--- a/core/fpdfapi/fpdf_page/include/cpdf_formobject.h
+++ b/core/fpdfapi/fpdf_page/include/cpdf_formobject.h
@@ -28,6 +28,7 @@ class CPDF_FormObject : public CPDF_PageObject {
const CPDF_FormObject* AsForm() const override;
void CalcBoundingBox();
+ const CPDF_Form* form() const { return m_pForm.get(); }
std::unique_ptr<CPDF_Form> m_pForm;
CFX_Matrix m_FormMatrix;