diff options
Diffstat (limited to 'fpdfsdk/javascript/global.h')
-rw-r--r-- | fpdfsdk/javascript/global.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/fpdfsdk/javascript/global.h b/fpdfsdk/javascript/global.h index 02c51d98a9..eca9aa12d1 100644 --- a/fpdfsdk/javascript/global.h +++ b/fpdfsdk/javascript/global.h @@ -17,16 +17,9 @@ class CJS_GlobalVariableArray; class CJS_KeyValue; struct JSGlobalData { - JSGlobalData() { - nType = 0; - dData = 0; - bData = FALSE; - sData = ""; - bPersistent = FALSE; - bDeleted = FALSE; - } + JSGlobalData(); + ~JSGlobalData(); - ~JSGlobalData() { pData.Reset(); } int nType; // 0:int 1:bool 2:string 3:obj double dData; bool bData; |