summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpdf_bookmark.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfdoc/cpdf_bookmark.cpp')
-rw-r--r--core/fpdfdoc/cpdf_bookmark.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfdoc/cpdf_bookmark.cpp b/core/fpdfdoc/cpdf_bookmark.cpp
index 5f8997d647..32375808a6 100644
--- a/core/fpdfdoc/cpdf_bookmark.cpp
+++ b/core/fpdfdoc/cpdf_bookmark.cpp
@@ -24,7 +24,7 @@ CPDF_Bookmark::CPDF_Bookmark() {}
CPDF_Bookmark::CPDF_Bookmark(const CPDF_Bookmark& that) = default;
-CPDF_Bookmark::CPDF_Bookmark(CPDF_Dictionary* pDict) : m_pDict(pDict) {}
+CPDF_Bookmark::CPDF_Bookmark(const CPDF_Dictionary* pDict) : m_pDict(pDict) {}
CPDF_Bookmark::~CPDF_Bookmark() {}
@@ -32,7 +32,7 @@ uint32_t CPDF_Bookmark::GetColorRef() const {
if (!m_pDict)
return kBlackBGR;
- CPDF_Array* pColor = m_pDict->GetArrayFor("C");
+ const CPDF_Array* pColor = m_pDict->GetArrayFor("C");
if (!pColor)
return kBlackBGR;