commit | 4cb82ee95256f110489f2b503e70729c44419e74 | [log] [tgz] |
---|---|---|
author | Tom Sepez <tsepez@chromium.org> | Mon May 22 15:15:30 2017 -0700 |
committer | Chromium commit bot <commit-bot@chromium.org> | Mon May 22 23:44:01 2017 +0000 |
tree | 56d11efe9bd8e93af2145c02f4f3c84ea3954f55 | |
parent | 355954b8f09a65934b95dd6ca1299a73ae5e24b2 [diff] [blame] |
Convert more c-style pointers to CFX_UnownedPtr Change-Id: I551b4210c95db0b916e9fe6cddf11e6c3d015c50 Reviewed-on: https://pdfium-review.googlesource.com/5790 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/fpdfsdk/fpdfeditpage.cpp b/fpdfsdk/fpdfeditpage.cpp index 431adca..95ae666 100644 --- a/fpdfsdk/fpdfeditpage.cpp +++ b/fpdfsdk/fpdfeditpage.cpp
@@ -300,7 +300,6 @@ if (!IsPageObject(pPage)) return; - CPDF_Dictionary* pDict = pPage->m_pFormDict; rotate %= 4; - pDict->SetNewFor<CPDF_Number>("Rotate", rotate * 90); + pPage->m_pFormDict->SetNewFor<CPDF_Number>("Rotate", rotate * 90); }