Index: core/fpdfdoc/doc_action.cpp |
diff --git a/core/fpdfdoc/doc_action.cpp b/core/fpdfdoc/doc_action.cpp |
index c3ab55260618240f095ee385ce395e55bbf25161..075849482ce99f5c11dfb71a245b95d77fa1485e 100644 |
--- a/core/fpdfdoc/doc_action.cpp |
+++ b/core/fpdfdoc/doc_action.cpp |
@@ -73,7 +73,8 @@ CFX_WideString CPDF_Action::GetFilePath() const { |
if (type == "Launch") { |
CPDF_Dictionary* pWinDict = m_pDict->GetDictBy("Win"); |
if (pWinDict) { |
- return CFX_WideString::FromLocal(pWinDict->GetStringBy("F")); |
+ return CFX_WideString::FromLocal( |
+ pWinDict->GetStringBy("F").AsByteStringC()); |
} |
} |
return path; |