Index: fpdfsdk/fpdf_transformpage.cpp |
diff --git a/fpdfsdk/fpdf_transformpage.cpp b/fpdfsdk/fpdf_transformpage.cpp |
index 47b6cec9ea85908936aa64c9db15b60e9990e5e4..dfaebd3143905104522ae4847046a9b255dcdc32 100644 |
--- a/fpdfsdk/fpdf_transformpage.cpp |
+++ b/fpdfsdk/fpdf_transformpage.cpp |
@@ -172,7 +172,7 @@ DLLEXPORT FPDF_BOOL STDCALL FPDFPage_TransFormWithClip(FPDF_PAGE page, |
CPDF_Dictionary* pPattenDict = pRes->GetDictFor("Pattern"); |
if (pPattenDict) { |
for (const auto& it : *pPattenDict) { |
- CPDF_Object* pObj = it.second.get(); |
+ CPDF_Object* pObj = it.second; |
if (pObj->IsReference()) |
pObj = pObj->GetDirect(); |