summaryrefslogtreecommitdiff
path: root/fxjs/cjx_object.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjx_object.h')
-rw-r--r--fxjs/cjx_object.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/fxjs/cjx_object.h b/fxjs/cjx_object.h
index 9e957d88ba..7cb91b9d27 100644
--- a/fxjs/cjx_object.h
+++ b/fxjs/cjx_object.h
@@ -16,7 +16,6 @@ class CXFA_Object;
class CJX_Object {
public:
- explicit CJX_Object(CXFA_Object* object);
virtual ~CJX_Object();
CXFA_Object* GetXFAObject() { return object_.Get(); }
@@ -31,7 +30,9 @@ class CJX_Object {
void ThrowIndexOutOfBoundsException() const;
void ThrowParamCountMismatchException(const WideString& method) const;
- // Make this protected when the cscript_* objects are converted to CJX.
+ protected:
+ explicit CJX_Object(CXFA_Object* object);
+
void ThrowException(const wchar_t* str, ...) const;
private: