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 f0232c4ae4..407e866766 100644
--- a/fpdfsdk/pwl/cpwl_icon.cpp
+++ b/fpdfsdk/pwl/cpwl_icon.cpp
@@ -55,7 +55,7 @@ std::pair<float, float> CPWL_Icon::GetIconPosition() {
if (!pA)
return {0.0f, 0.0f};
- size_t dwCount = pA->GetCount();
+ size_t dwCount = pA->size();
return {dwCount > 0 ? pA->GetNumberAt(0) : 0.0f,
dwCount > 1 ? pA->GetNumberAt(1) : 0.0f};
}