diff options
Diffstat (limited to 'core/fpdfapi/font/cpdf_fontencoding.cpp')
-rw-r--r-- | core/fpdfapi/font/cpdf_fontencoding.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fpdfapi/font/cpdf_fontencoding.cpp b/core/fpdfapi/font/cpdf_fontencoding.cpp index 3537330def..da607e6aa8 100644 --- a/core/fpdfapi/font/cpdf_fontencoding.cpp +++ b/core/fpdfapi/font/cpdf_fontencoding.cpp @@ -1689,13 +1689,13 @@ CPDF_Object* CPDF_FontEncoding::Realize(CFX_WeakPtr<CFX_ByteStringPool> pPool) { } if (predefined) { if (predefined == PDFFONT_ENCODING_WINANSI) { - return new CPDF_Name(pPool->Intern("WinAnsiEncoding")); + return new CPDF_Name(pPool, "WinAnsiEncoding"); } if (predefined == PDFFONT_ENCODING_MACROMAN) { - return new CPDF_Name(pPool->Intern("MacRomanEncoding")); + return new CPDF_Name(pPool, "MacRomanEncoding"); } if (predefined == PDFFONT_ENCODING_MACEXPERT) { - return new CPDF_Name(pPool->Intern("MacExpertEncoding")); + return new CPDF_Name(pPool, "MacExpertEncoding"); } return nullptr; } |