| Index: core/fpdfdoc/doc_utils.cpp
|
| diff --git a/core/fpdfdoc/doc_utils.cpp b/core/fpdfdoc/doc_utils.cpp
|
| index 408f0065e2dfc8aff47013664cab757f20585dd4..6c61c3d75ee8309778ceb5c00cfcb1fd71dc87f2 100644
|
| --- a/core/fpdfdoc/doc_utils.cpp
|
| +++ b/core/fpdfdoc/doc_utils.cpp
|
| @@ -716,11 +716,9 @@ void CPDF_IconFit::GetIconPosition(FX_FLOAT& fLeft, FX_FLOAT& fBottom) {
|
| }
|
| }
|
| }
|
| -FX_BOOL CPDF_IconFit::GetFittingBounds() {
|
| - if (!m_pDict) {
|
| - return FALSE;
|
| - }
|
| - return m_pDict->GetBooleanBy("FB");
|
| +
|
| +bool CPDF_IconFit::GetFittingBounds() {
|
| + return m_pDict ? m_pDict->GetBooleanBy("FB") : false;
|
| }
|
|
|
| std::vector<bool> SaveCheckedFieldStatus(CPDF_FormField* pField) {
|
|
|