diff options
Diffstat (limited to 'fxjs/cjs_printparamsobj.cpp')
-rw-r--r-- | fxjs/cjs_printparamsobj.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fxjs/cjs_printparamsobj.cpp b/fxjs/cjs_printparamsobj.cpp index 296c241736..7d6a7ea453 100644 --- a/fxjs/cjs_printparamsobj.cpp +++ b/fxjs/cjs_printparamsobj.cpp @@ -15,10 +15,9 @@ int CJS_PrintParamsObj::GetObjDefnID() { // static void CJS_PrintParamsObj::DefineJSObjects(CFXJS_Engine* pEngine) { - ObjDefnID = - pEngine->DefineObj("PrintParamsObj", FXJSOBJTYPE_DYNAMIC, - JSConstructor<CJS_PrintParamsObj, PrintParamsObj>, - JSDestructor<CJS_PrintParamsObj>); + ObjDefnID = pEngine->DefineObj( + "PrintParamsObj", FXJSOBJTYPE_DYNAMIC, + JSConstructor<CJS_PrintParamsObj, PrintParamsObj>, JSDestructor); } PrintParamsObj::PrintParamsObj(CJS_Object* pJSObject) |