summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/src/javascript/util.cpp')
-rw-r--r--fpdfsdk/src/javascript/util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/src/javascript/util.cpp b/fpdfsdk/src/javascript/util.cpp
index 85092dab17..c1b7b4e06a 100644
--- a/fpdfsdk/src/javascript/util.cpp
+++ b/fpdfsdk/src/javascript/util.cpp
@@ -212,7 +212,7 @@ FX_BOOL util::printd(IFXJS_Context* cc,
return FALSE;
}
- if (p1.GetType() == VT_number) {
+ if (p1.GetType() == CJS_Value::VT_number) {
int nFormat = p1.ToInt();
CFX_WideString swResult;
@@ -242,7 +242,7 @@ FX_BOOL util::printd(IFXJS_Context* cc,
vRet = swResult.c_str();
return TRUE;
}
- if (p1.GetType() == VT_string) {
+ if (p1.GetType() == CJS_Value::VT_string) {
std::basic_string<wchar_t> cFormat = p1.ToCFXWideString().c_str();
bool bXFAPicture = false;