diff options
Diffstat (limited to 'fpdfsdk/include/javascript/JS_Context.h')
-rw-r--r-- | fpdfsdk/include/javascript/JS_Context.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/fpdfsdk/include/javascript/JS_Context.h b/fpdfsdk/include/javascript/JS_Context.h index b35ba3b4b2..7d9dc2c9f1 100644 --- a/fpdfsdk/include/javascript/JS_Context.h +++ b/fpdfsdk/include/javascript/JS_Context.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _JS_CONTEXT_H_ -#define _JS_CONTEXT_H_ +#ifndef FPDFSDK_INCLUDE_JAVASCRIPT_JS_CONTEXT_H_ +#define FPDFSDK_INCLUDE_JAVASCRIPT_JS_CONTEXT_H_ #include "../../../core/include/fxcrt/fx_system.h" #include "../../../core/include/fxcrt/fx_string.h" @@ -94,12 +94,4 @@ private: FX_BOOL m_bMsgBoxEnable; }; -// static CFX_WideString JSGetStringFromID(CJS_Context* pContext, UINT ID) -// { -// ASSERT(pContext != NULL); -// -// return JS_LoadString(pContext->GetReaderApp(), ID); -// } - -#endif //_JS_CONTEXT_H_ - +#endif // FPDFSDK_INCLUDE_JAVASCRIPT_JS_CONTEXT_H_ |