Index: core/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp |
diff --git a/core/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp b/core/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp |
index d70c04c6904d8edcb89f30422d6cc329712bb2ef..04ab9ea8634c110d90e881ca3f0b8901cf8769f5 100644 |
--- a/core/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp |
+++ b/core/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp |
@@ -1124,7 +1124,7 @@ CPDF_Font* CPDF_Document::AddStandardFont(const FX_CHAR* font, |
CFX_ByteString name(font); |
if (PDF_GetStandardFontName(&name) < 0) |
return nullptr; |
- return GetPageData()->GetStandardFont(name.AsByteStringC(), pEncoding); |
+ return GetPageData()->GetStandardFont(name.AsStringC(), pEncoding); |
} |
void CPDF_Document::DeletePage(int iPage) { |