summaryrefslogtreecommitdiff
path: root/fpdfsdk/pwl/cpwl_icon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/pwl/cpwl_icon.cpp')
-rw-r--r--fpdfsdk/pwl/cpwl_icon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/pwl/cpwl_icon.cpp b/fpdfsdk/pwl/cpwl_icon.cpp
index 52a4464639..567a5786e6 100644
--- a/fpdfsdk/pwl/cpwl_icon.cpp
+++ b/fpdfsdk/pwl/cpwl_icon.cpp
@@ -49,7 +49,7 @@ std::pair<float, float> CPWL_Icon::GetIconPosition() {
if (!m_pIconFit)
return {0.0f, 0.0f};
- CPDF_Array* pA =
+ const CPDF_Array* pA =
m_pIconFit->GetDict() ? m_pIconFit->GetDict()->GetArrayFor("A") : nullptr;
if (!pA)
return {0.0f, 0.0f};