Index: fpdfsdk/src/javascript/JS_EventHandler.cpp |
diff --git a/fpdfsdk/src/javascript/JS_EventHandler.cpp b/fpdfsdk/src/javascript/JS_EventHandler.cpp |
index cf59ed9c86409af85eae3bfa9dc128a31b143d4d..fe4f6b2d4c58c9dce6b9f985126f59473c024560 100644 |
--- a/fpdfsdk/src/javascript/JS_EventHandler.cpp |
+++ b/fpdfsdk/src/javascript/JS_EventHandler.cpp |
@@ -461,7 +461,7 @@ FX_BOOL CJS_EventHandler::Modifier() |
return m_bModifier; |
} |
-FX_LPCWSTR CJS_EventHandler::Name() |
+const FX_WCHAR* CJS_EventHandler::Name() |
{ |
switch (m_eEventType) |
{ |
@@ -509,7 +509,7 @@ FX_LPCWSTR CJS_EventHandler::Name() |
return L""; |
} |
-FX_LPCWSTR CJS_EventHandler::Type() |
+const FX_WCHAR* CJS_EventHandler::Type() |
{ |
switch (m_eEventType) |
{ |