diff options
Diffstat (limited to 'fxjs')
-rw-r--r-- | fxjs/cfxjse_engine.cpp | 2 | ||||
-rw-r--r-- | fxjs/cjs_util.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fxjs/cfxjse_engine.cpp b/fxjs/cfxjse_engine.cpp index 47911f8a2d..da117f5272 100644 --- a/fxjs/cfxjse_engine.cpp +++ b/fxjs/cfxjse_engine.cpp @@ -521,7 +521,7 @@ bool CFXJSE_Engine::QueryVariableValue(CXFA_Node* pScriptNode, } void CFXJSE_Engine::RemoveBuiltInObjs(CFXJSE_Context* pContext) const { - static const ByteStringView OBJ_NAME[2] = {"Number", "Date"}; + const ByteStringView OBJ_NAME[2] = {"Number", "Date"}; std::unique_ptr<CFXJSE_Value> pObject = pContext->GetGlobalObject(); auto hProp = pdfium::MakeUnique<CFXJSE_Value>(GetIsolate()); for (int i = 0; i < 2; ++i) { diff --git a/fxjs/cjs_util.cpp b/fxjs/cjs_util.cpp index fd064b33a6..56bf4133d3 100644 --- a/fxjs/cjs_util.cpp +++ b/fxjs/cjs_util.cpp @@ -211,7 +211,7 @@ CJS_Return CJS_Util::printd(CJS_Runtime* pRuntime, if (year < 0) return CJS_Return(JSGetStringFromID(JSMessage::kValueError)); - static const TbConvertAdditional cTableAd[] = { + const TbConvertAdditional cTableAd[] = { {L"m", month}, {L"d", day}, {L"H", hour}, {L"h", hour > 12 ? hour - 12 : hour}, {L"M", min}, {L"s", sec}, |