summaryrefslogtreecommitdiff
path: root/fxjs/cjx_object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjx_object.cpp')
-rw-r--r--fxjs/cjx_object.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/fxjs/cjx_object.cpp b/fxjs/cjx_object.cpp
index a3ba05f1b4..3efab63d48 100644
--- a/fxjs/cjx_object.cpp
+++ b/fxjs/cjx_object.cpp
@@ -13,6 +13,10 @@ CJX_Object::CJX_Object(CXFA_Object* obj) : object_(obj) {}
CJX_Object::~CJX_Object() {}
+CXFA_Document* CJX_Object::GetDocument() const {
+ return object_->GetDocument();
+}
+
void CJX_Object::Script_ObjectClass_ClassName(CFXJSE_Value* pValue,
bool bSetting,
XFA_ATTRIBUTE eAttribute) {