Index: fpdfsdk/javascript/PublicMethods.cpp |
diff --git a/fpdfsdk/javascript/PublicMethods.cpp b/fpdfsdk/javascript/PublicMethods.cpp |
index 344af5aa024293efc3a34ca88486c570ee748d11..2310200084accbe6070608f09c880f8bed319693 100644 |
--- a/fpdfsdk/javascript/PublicMethods.cpp |
+++ b/fpdfsdk/javascript/PublicMethods.cpp |
@@ -79,9 +79,9 @@ CFX_WideString StrTrim(const CFX_WideString& pStr) { |
} |
void AlertIfPossible(CJS_Context* pContext, const FX_WCHAR* swMsg) { |
- CPDFSDK_FormFillEnvironment* pEnv = pContext->GetFormFillEnv(); |
- if (pEnv) |
- pEnv->JS_appAlert(swMsg, nullptr, 0, 3); |
+ CPDFSDK_FormFillEnvironment* pFormFillEnv = pContext->GetFormFillEnv(); |
+ if (pFormFillEnv) |
+ pFormFillEnv->JS_appAlert(swMsg, nullptr, 0, 3); |
} |
} // namespace |