diff options
Diffstat (limited to 'fpdfsdk/fpdfppo.cpp')
-rw-r--r-- | fpdfsdk/fpdfppo.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/fpdfppo.cpp b/fpdfsdk/fpdfppo.cpp index 21d8c7d9ae..1dbd10c1f7 100644 --- a/fpdfsdk/fpdfppo.cpp +++ b/fpdfsdk/fpdfppo.cpp @@ -110,9 +110,9 @@ FX_BOOL CPDF_PageOrganizer::ExportPage(CPDF_Document* pSrcPDFDoc, const CFX_ByteString& cbSrcKeyStr = it.first; CPDF_Object* pObj = it.second; if (cbSrcKeyStr.Compare(("Type")) && cbSrcKeyStr.Compare(("Parent"))) { - if (pCurPageDict->KeyExist(cbSrcKeyStr.AsByteStringC())) - pCurPageDict->RemoveAt(cbSrcKeyStr.AsByteStringC()); - pCurPageDict->SetAt(cbSrcKeyStr.AsByteStringC(), pObj->Clone()); + if (pCurPageDict->KeyExist(cbSrcKeyStr.AsStringC())) + pCurPageDict->RemoveAt(cbSrcKeyStr.AsStringC()); + pCurPageDict->SetAt(cbSrcKeyStr.AsStringC(), pObj->Clone()); } } @@ -229,7 +229,7 @@ FX_BOOL CPDF_PageOrganizer::UpdateReference(CPDF_Object* pObj, } if (pNextObj) { if (!UpdateReference(pNextObj, pDoc, pObjNumberMap)) - pDict->RemoveAt(key.AsByteStringC()); + pDict->RemoveAt(key.AsStringC()); } else { return FALSE; } |