diff options
author | Wei Li <weili@chromium.org> | 2016-03-01 16:29:41 -0800 |
---|---|---|
committer | Wei Li <weili@chromium.org> | 2016-03-01 16:29:41 -0800 |
commit | 0fc6b25e738c311fd66aa9da8c56de50af5644d5 (patch) | |
tree | e148556274b450ae125e2821debebb472f1ba8ee /fpdfsdk/src/pdfwindow | |
parent | 738b08ce6b9f80d93b815411b47c2b11c2f090f6 (diff) | |
download | pdfium-0fc6b25e738c311fd66aa9da8c56de50af5644d5.tar.xz |
Remove implicit conversions and some cleanup
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1751753002 .
Diffstat (limited to 'fpdfsdk/src/pdfwindow')
-rw-r--r-- | fpdfsdk/src/pdfwindow/PWL_Icon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/src/pdfwindow/PWL_Icon.cpp b/fpdfsdk/src/pdfwindow/PWL_Icon.cpp index 1bfa1a6d3a..d8e11c2c02 100644 --- a/fpdfsdk/src/pdfwindow/PWL_Icon.cpp +++ b/fpdfsdk/src/pdfwindow/PWL_Icon.cpp @@ -128,7 +128,7 @@ void CPWL_Icon::GetIconPosition(FX_FLOAT& fLeft, FX_FLOAT& fBottom) { fLeft = 0.0f; fBottom = 0.0f; CPDF_Array* pA = - m_pIconFit->m_pDict ? m_pIconFit->m_pDict->GetArrayBy("A") : NULL; + m_pIconFit->GetDict() ? m_pIconFit->GetDict()->GetArrayBy("A") : NULL; if (pA) { FX_DWORD dwCount = pA->GetCount(); if (dwCount > 0) |