Index: xfa/fde/css/fde_csssyntax.cpp |
diff --git a/xfa/fde/css/fde_csssyntax.cpp b/xfa/fde/css/fde_csssyntax.cpp |
index 26ddaf727aea82e6391a11e575d80c4b509ef6d2..f948b58e714d7aea14fe921afc48c31a45a68c5f 100644 |
--- a/xfa/fde/css/fde_csssyntax.cpp |
+++ b/xfa/fde/css/fde_csssyntax.cpp |
@@ -334,7 +334,7 @@ FDE_CSSSYNTAXSTATUS CFDE_CSSSyntaxParser::DoSyntaxParse() { |
DisableCharset(); |
if (m_iTextDatLen > 0) { |
if (m_pStream != NULL) { |
- uint16_t wCodePage = FX_GetCodePageFormStringW( |
+ uint16_t wCodePage = FX_GetCodePageFromStringW( |
m_TextData.GetBuffer(), m_iTextDatLen); |
if (wCodePage < 0xFFFF && |
m_pStream->GetCodePage() != wCodePage) { |