summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/fsdk_baseform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/src/fsdk_baseform.cpp')
-rw-r--r--fpdfsdk/src/fsdk_baseform.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/src/fsdk_baseform.cpp b/fpdfsdk/src/fsdk_baseform.cpp
index eab9f91076..ff71c2bcee 100644
--- a/fpdfsdk/src/fsdk_baseform.cpp
+++ b/fpdfsdk/src/fsdk_baseform.cpp
@@ -1757,7 +1757,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);
@@ -1775,7 +1775,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();
@@ -1817,7 +1817,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);
@@ -1840,7 +1840,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);