Index: core/fpdfapi/fpdf_edit/cpdf_pagecontentgenerator.cpp |
diff --git a/core/fpdfapi/fpdf_edit/cpdf_pagecontentgenerator.cpp b/core/fpdfapi/fpdf_edit/cpdf_pagecontentgenerator.cpp |
index af79fd31c1ba7d7efd8bec7a09a0f7bb262db2aa..a484edd6b9660679b49b7d5c74b0691a6525236f 100644 |
--- a/core/fpdfapi/fpdf_edit/cpdf_pagecontentgenerator.cpp |
+++ b/core/fpdfapi/fpdf_edit/cpdf_pagecontentgenerator.cpp |
@@ -74,12 +74,12 @@ CFX_ByteString CPDF_PageContentGenerator::RealizeResource( |
int idnum = 1; |
while (1) { |
name.Format("FX%c%d", szType[0], idnum); |
- if (!pResList->KeyExist(name.AsByteStringC())) { |
+ if (!pResList->KeyExist(name.AsStringC())) { |
break; |
} |
idnum++; |
} |
- pResList->AddReference(name.AsByteStringC(), m_pDocument, |
+ pResList->AddReference(name.AsStringC(), m_pDocument, |
pResourceObj->GetObjNum()); |
return name; |
} |