| Index: fpdfsdk/javascript/JS_GlobalData.cpp
|
| diff --git a/fpdfsdk/javascript/JS_GlobalData.cpp b/fpdfsdk/javascript/JS_GlobalData.cpp
|
| index 8f7810f111f0af0256ce27b2bb7d342040632d72..b34bf0907e1c59a8d61fd1fbccd9f583f659c437 100644
|
| --- a/fpdfsdk/javascript/JS_GlobalData.cpp
|
| +++ b/fpdfsdk/javascript/JS_GlobalData.cpp
|
| @@ -61,21 +61,21 @@ void CJS_GlobalVariableArray::Copy(const CJS_GlobalVariableArray& array) {
|
| }
|
|
|
| void CJS_GlobalVariableArray::Add(CJS_KeyValue* p) {
|
| - array.Add(p);
|
| + m_Array.Add(p);
|
| }
|
|
|
| int CJS_GlobalVariableArray::Count() const {
|
| - return array.GetSize();
|
| + return m_Array.GetSize();
|
| }
|
|
|
| CJS_KeyValue* CJS_GlobalVariableArray::GetAt(int index) const {
|
| - return array.GetAt(index);
|
| + return m_Array.GetAt(index);
|
| }
|
|
|
| void CJS_GlobalVariableArray::Empty() {
|
| - for (int i = 0, sz = array.GetSize(); i < sz; i++)
|
| - delete array.GetAt(i);
|
| - array.RemoveAll();
|
| + for (int i = 0, sz = m_Array.GetSize(); i < sz; i++)
|
| + delete m_Array.GetAt(i);
|
| + m_Array.RemoveAll();
|
| }
|
|
|
| #define READER_JS_GLOBALDATA_FILENAME L"Reader_JsGlobal.Data"
|
|
|