| Index: fpdfsdk/pdfwindow/PWL_Icon.cpp
|
| diff --git a/fpdfsdk/pdfwindow/PWL_Icon.cpp b/fpdfsdk/pdfwindow/PWL_Icon.cpp
|
| index 6689aa644ec5eb797835560daa4099767056f2b5..65dde8c76e7d3034ec8ff361c4cd709371830db8 100644
|
| --- a/fpdfsdk/pdfwindow/PWL_Icon.cpp
|
| +++ b/fpdfsdk/pdfwindow/PWL_Icon.cpp
|
| @@ -63,7 +63,7 @@ void CPWL_Image::GetImageSize(FX_FLOAT& fWidth, FX_FLOAT& fHeight) {
|
|
|
| if (m_pPDFStream) {
|
| if (CPDF_Dictionary* pDict = m_pPDFStream->GetDict()) {
|
| - CFX_FloatRect rect = pDict->GetRectBy("BBox");
|
| + CFX_FloatRect rect = pDict->GetRectFor("BBox");
|
|
|
| fWidth = rect.right - rect.left;
|
| fHeight = rect.top - rect.bottom;
|
| @@ -74,7 +74,7 @@ void CPWL_Image::GetImageSize(FX_FLOAT& fWidth, FX_FLOAT& fHeight) {
|
| CFX_Matrix CPWL_Image::GetImageMatrix() {
|
| if (m_pPDFStream) {
|
| if (CPDF_Dictionary* pDict = m_pPDFStream->GetDict()) {
|
| - return pDict->GetMatrixBy("Matrix");
|
| + return pDict->GetMatrixFor("Matrix");
|
| }
|
| }
|
|
|
| @@ -87,7 +87,7 @@ CFX_ByteString CPWL_Image::GetImageAlias() {
|
|
|
| if (m_pPDFStream) {
|
| if (CPDF_Dictionary* pDict = m_pPDFStream->GetDict()) {
|
| - return pDict->GetStringBy("Name");
|
| + return pDict->GetStringFor("Name");
|
| }
|
| }
|
|
|
| @@ -135,7 +135,7 @@ void CPWL_Icon::GetIconPosition(FX_FLOAT& fLeft, FX_FLOAT& fBottom) {
|
| fLeft = 0.0f;
|
| fBottom = 0.0f;
|
| CPDF_Array* pA = m_pIconFit->GetDict()
|
| - ? m_pIconFit->GetDict()->GetArrayBy("A")
|
| + ? m_pIconFit->GetDict()->GetArrayFor("A")
|
| : nullptr;
|
| if (pA) {
|
| size_t dwCount = pA->GetCount();
|
|
|