Chromium Code Reviews| Index: core/fpdfdoc/doc_viewerPreferences.cpp |
| diff --git a/core/fpdfdoc/doc_viewerPreferences.cpp b/core/fpdfdoc/doc_viewerPreferences.cpp |
| index a355635bf0e011f7d5b591ce06caa2064daf645f..3d943d2941ab1c73f8f663f87e55279d78115cd4 100644 |
| --- a/core/fpdfdoc/doc_viewerPreferences.cpp |
| +++ b/core/fpdfdoc/doc_viewerPreferences.cpp |
| @@ -36,7 +36,7 @@ int32_t CPDF_ViewerPreferences::NumCopies() const { |
| } |
| CPDF_Array* CPDF_ViewerPreferences::PrintPageRange() const { |
| CPDF_Dictionary* pDict = m_pDoc->GetRoot(); |
| - CPDF_Array* pRange = NULL; |
| + CPDF_Array* pRange = nullptr; |
|
Tom Sepez
2016/06/02 20:09:48
nit: local not needed.
Lei Zhang
2016/06/07 07:33:23
Done.
|
| pDict = pDict->GetDictBy("ViewerPreferences"); |
| if (!pDict) { |
| return pRange; |