Index: core/fpdfapi/fpdf_parser/cpdf_name.cpp |
diff --git a/core/fpdfapi/fpdf_parser/cpdf_name.cpp b/core/fpdfapi/fpdf_parser/cpdf_name.cpp |
index db37754b66f16048ebd0a133a9914c22017b7274..a7adf1b3d6e50fd5dc1a7d00b9e516fc99da4d0d 100644 |
--- a/core/fpdfapi/fpdf_parser/cpdf_name.cpp |
+++ b/core/fpdfapi/fpdf_parser/cpdf_name.cpp |
@@ -29,7 +29,7 @@ CFX_ByteString CPDF_Name::GetString() const { |
} |
CFX_ByteStringC CPDF_Name::GetConstString() const { |
- return CFX_ByteStringC(m_Name); |
+ return m_Name.AsByteStringC(); |
} |
void CPDF_Name::SetString(const CFX_ByteString& str) { |