Index: fpdfsdk/fpdfppo.cpp |
diff --git a/fpdfsdk/fpdfppo.cpp b/fpdfsdk/fpdfppo.cpp |
index 8a46ea4067db55a118df3fc6a47353e745cee908..f41f904e174bf80c3e17cb252880f2d4bc68dd51 100644 |
--- a/fpdfsdk/fpdfppo.cpp |
+++ b/fpdfsdk/fpdfppo.cpp |
@@ -105,8 +105,8 @@ FX_BOOL CPDF_PageOrganizer::ExportPage(CPDF_Document* pSrcPDFDoc, |
// Clone the page dictionary |
for (const auto& it : *pSrcPageDict) { |
const CFX_ByteString& cbSrcKeyStr = it.first; |
- CPDF_Object* pObj = it.second.get(); |
- if (cbSrcKeyStr.Compare("Type") && cbSrcKeyStr.Compare("Parent")) { |
+ CPDF_Object* pObj = it.second; |
+ if (cbSrcKeyStr.Compare(("Type")) && cbSrcKeyStr.Compare(("Parent"))) { |
if (pCurPageDict->KeyExist(cbSrcKeyStr)) |
pCurPageDict->RemoveFor(cbSrcKeyStr); |
pCurPageDict->SetFor(cbSrcKeyStr, pObj->Clone()); |
@@ -219,7 +219,7 @@ FX_BOOL CPDF_PageOrganizer::UpdateReference(CPDF_Object* pObj, |
auto it = pDict->begin(); |
while (it != pDict->end()) { |
const CFX_ByteString& key = it->first; |
- CPDF_Object* pNextObj = it->second.get(); |
+ CPDF_Object* pNextObj = it->second; |
++it; |
if (key == "Parent" || key == "Prev" || key == "First") |
continue; |