Index: xfa/fxfa/fm2js/xfa_fm2jscontext.cpp |
diff --git a/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp b/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp |
index ee7e6223fe1582e3e5d34b4ed492bb70cd7f4ced..cc148c72ea37be2b24fc33f22211f00b41871320 100644 |
--- a/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp |
+++ b/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp |
@@ -4127,7 +4127,7 @@ void CXFA_FM2JSContext::EncodeHTML(const CFX_ByteStringC& szHTMLString, |
CFX_WideString htmlReserve; |
while (i < iLen) { |
ch = *(pData + i); |
- htmlReserve.Empty(); |
+ htmlReserve.clear(); |
if (HTMLCode2STR(ch, htmlReserve)) { |
wsResultBuf.AppendChar(L'&'); |
wsResultBuf << htmlReserve; |