summaryrefslogtreecommitdiff
path: root/core/src/fpdfdoc
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-09-15 14:45:29 -0700
committerLei Zhang <thestig@chromium.org>2015-09-15 14:45:29 -0700
commit0b3c8f742613da294f812e2f6e908f4026499f96 (patch)
tree9943c7faca7a30ce935eb2203e53dceb948f09e5 /core/src/fpdfdoc
parentb17d62601b21dfce85718e08cfd0ffce3a45d74e (diff)
downloadpdfium-0b3c8f742613da294f812e2f6e908f4026499f96.tar.xz
Implement FPDFAction_GetFilePath().
The API is the same as the Foxit version, except the encoding is specified as UTF-8 instead of local encoding. Also remove CPDF_LWinParam since it's unused. BUG=chromium:517713 R=jun_fang@foxitsoftware.com Review URL: https://codereview.chromium.org/1335373002 .
Diffstat (limited to 'core/src/fpdfdoc')
-rw-r--r--core/src/fpdfdoc/doc_action.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/core/src/fpdfdoc/doc_action.cpp b/core/src/fpdfdoc/doc_action.cpp
index f8a11e5682..759a06c656 100644
--- a/core/src/fpdfdoc/doc_action.cpp
+++ b/core/src/fpdfdoc/doc_action.cpp
@@ -179,15 +179,7 @@ CPDF_Object* CPDF_ActionFields::GetField(FX_DWORD iIndex) const {
}
return pFindObj;
}
-CPDF_LWinParam CPDF_Action::GetWinParam() const {
- if (m_pDict == NULL) {
- return NULL;
- }
- if (m_pDict->GetString("S") != "Launch") {
- return NULL;
- }
- return m_pDict->GetDict("Win");
-}
+
CFX_WideString CPDF_Action::GetJavaScript() const {
CFX_WideString csJS;
if (m_pDict == NULL) {