| Index: core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp
|
| diff --git a/core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp b/core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp
|
| index 2db8d6095f9399ca838091cd4e1e20a4cea5746e..baa38fd4bcc2093d849a7e399b55e776449e6d46 100644
|
| --- a/core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp
|
| +++ b/core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp
|
| @@ -1060,7 +1060,7 @@ static int InsertDeletePDFPage(CPDF_Document* pDoc, CPDF_Dictionary* pPages,
|
| int nKids = pKidList->GetCount();
|
| for (int i = 0; i < nKids; i ++) {
|
| CPDF_Dictionary* pKid = pKidList->GetDict(i);
|
| - if (pKid->GetString("Type") == FX_BSTRC("Page")) {
|
| + if (pKid->GetStringAt("Type") == "Page") {
|
| if (nPagesToGo == 0) {
|
| if (bInsert) {
|
| pKidList->InsertAt(i, CPDF_Reference::Create(pDoc, pPage->GetObjNum()));
|
|
|