Index: core/fpdfapi/fpdf_font/cpdf_fontencoding.cpp |
diff --git a/core/fpdfapi/fpdf_font/cpdf_fontencoding.cpp b/core/fpdfapi/fpdf_font/cpdf_fontencoding.cpp |
index 6b726f0a32dce91565ae665c863872adfb6c3c83..29587927bc55694001c6c78f3c651ed4e793672f 100644 |
--- a/core/fpdfapi/fpdf_font/cpdf_fontencoding.cpp |
+++ b/core/fpdfapi/fpdf_font/cpdf_fontencoding.cpp |
@@ -1711,8 +1711,8 @@ CPDF_Object* CPDF_FontEncoding::Realize() { |
} |
CPDF_Dictionary* pDict = new CPDF_Dictionary; |
- pDict->SetAtName("BaseEncoding", "WinAnsiEncoding"); |
- pDict->SetAt("Differences", pDiff); |
+ pDict->SetNameFor("BaseEncoding", "WinAnsiEncoding"); |
+ pDict->SetFor("Differences", pDiff); |
return pDict; |
} |