summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfeditpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/fpdfeditpage.cpp')
-rw-r--r--fpdfsdk/fpdfeditpage.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/fpdfsdk/fpdfeditpage.cpp b/fpdfsdk/fpdfeditpage.cpp
index 431adcaa95..95ae66685d 100644
--- a/fpdfsdk/fpdfeditpage.cpp
+++ b/fpdfsdk/fpdfeditpage.cpp
@@ -300,7 +300,6 @@ DLLEXPORT void STDCALL FPDFPage_SetRotation(FPDF_PAGE page, int rotate) {
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);
}