summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/javascript/IJavaScript.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/include/javascript/IJavaScript.h')
-rw-r--r--fpdfsdk/include/javascript/IJavaScript.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/include/javascript/IJavaScript.h b/fpdfsdk/include/javascript/IJavaScript.h
index d40c87b1f5..ddab4cfde7 100644
--- a/fpdfsdk/include/javascript/IJavaScript.h
+++ b/fpdfsdk/include/javascript/IJavaScript.h
@@ -85,8 +85,8 @@ public:
virtual CPDFSDK_Document* GetReaderDocument() = 0;
- virtual FX_BOOL GetHValueByName(FX_BSTR utf8Name, FXJSE_HVALUE hValue) = 0;
- virtual FX_BOOL SetHValueByName(FX_BSTR utf8Name, FXJSE_HVALUE hValue) = 0;
+ virtual FX_BOOL GetHValueByName(const CFX_ByteStringC& utf8Name, FXJSE_HVALUE hValue) = 0;
+ virtual FX_BOOL SetHValueByName(const CFX_ByteStringC& utf8Name, FXJSE_HVALUE hValue) = 0;
protected:
~IFXJS_Runtime() { }