Index: fpdfsdk/src/fsdk_baseform.cpp |
diff --git a/fpdfsdk/src/fsdk_baseform.cpp b/fpdfsdk/src/fsdk_baseform.cpp |
index 83e0a9ac6485f64c426fa503e147d2359b314d5f..81b4ef409feb44aab6b1ea3cc6ba68b1190f4921 100644 |
--- a/fpdfsdk/src/fsdk_baseform.cpp |
+++ b/fpdfsdk/src/fsdk_baseform.cpp |
@@ -2432,7 +2432,7 @@ void CPDFSDK_InterForm::OnCalculate(CPDF_FormField* pFormField) { |
m_bBusy = TRUE; |
if (IsCalculateEnabled()) { |
- IFXJS_Runtime* pRuntime = m_pDocument->GetJsRuntime(); |
+ IJS_Runtime* pRuntime = m_pDocument->GetJsRuntime(); |
ASSERT(pRuntime != NULL); |
pRuntime->SetReaderDocument(m_pDocument); |
@@ -2450,7 +2450,7 @@ void CPDFSDK_InterForm::OnCalculate(CPDF_FormField* pFormField) { |
if (action) { |
CFX_WideString csJS = action.GetJavaScript(); |
if (!csJS.IsEmpty()) { |
- IFXJS_Context* pContext = pRuntime->NewContext(); |
+ IJS_Context* pContext = pRuntime->NewContext(); |
ASSERT(pContext != NULL); |
CFX_WideString sOldValue = pField->GetValue(); |
@@ -2492,7 +2492,7 @@ CFX_WideString CPDFSDK_InterForm::OnFormat(CPDF_FormField* pFormField, |
return sValue; |
} |
- IFXJS_Runtime* pRuntime = m_pDocument->GetJsRuntime(); |
+ IJS_Runtime* pRuntime = m_pDocument->GetJsRuntime(); |
ASSERT(pRuntime != NULL); |
pRuntime->SetReaderDocument(m_pDocument); |
@@ -2515,7 +2515,7 @@ CFX_WideString CPDFSDK_InterForm::OnFormat(CPDF_FormField* pFormField, |
if (!script.IsEmpty()) { |
CFX_WideString Value = sValue; |
- IFXJS_Context* pContext = pRuntime->NewContext(); |
+ IJS_Context* pContext = pRuntime->NewContext(); |
ASSERT(pContext != NULL); |
pContext->OnField_Format(pFormField, Value, TRUE); |