Index: fpdfsdk/fpdf_flatten.cpp |
diff --git a/fpdfsdk/fpdf_flatten.cpp b/fpdfsdk/fpdf_flatten.cpp |
index abfc69b0926d930204ecd995818d61d885f46d5d..4be0135da99dff9b245c25b3aee499b9b07a86d4 100644 |
--- a/fpdfsdk/fpdf_flatten.cpp |
+++ b/fpdfsdk/fpdf_flatten.cpp |
@@ -382,7 +382,7 @@ DLLEXPORT int STDCALL FPDFPage_Flatten(FPDF_PAGE page, int nFlag) { |
} else { |
auto it = pAPDic->begin(); |
if (it != pAPDic->end()) { |
- CPDF_Object* pFirstObj = it->second.get(); |
+ CPDF_Object* pFirstObj = it->second; |
if (pFirstObj) { |
if (pFirstObj->IsReference()) |
pFirstObj = pFirstObj->GetDirect(); |