diff options
Diffstat (limited to 'core/fpdfdoc/cpdf_action.cpp')
-rw-r--r-- | core/fpdfdoc/cpdf_action.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfdoc/cpdf_action.cpp b/core/fpdfdoc/cpdf_action.cpp index 557fbdafa9..4d9e630d97 100644 --- a/core/fpdfdoc/cpdf_action.cpp +++ b/core/fpdfdoc/cpdf_action.cpp @@ -85,7 +85,7 @@ CFX_WideString CPDF_Action::GetFilePath() const { return CFX_WideString(); } -CFX_ByteString CPDF_Action::GetURI(CPDF_Document* pDoc) const { +CFX_ByteString CPDF_Action::GetURI(const CPDF_Document* pDoc) const { CFX_ByteString csURI; if (!m_pDict) return csURI; @@ -93,7 +93,7 @@ CFX_ByteString CPDF_Action::GetURI(CPDF_Document* pDoc) const { return csURI; csURI = m_pDict->GetStringFor("URI"); - CPDF_Dictionary* pRoot = pDoc->GetRoot(); + const CPDF_Dictionary* pRoot = pDoc->GetRoot(); CPDF_Dictionary* pURI = pRoot->GetDictFor("URI"); if (pURI) { auto result = csURI.Find(":"); |