Index: fpdfsdk/pdfwindow/PWL_Edit.cpp |
diff --git a/fpdfsdk/pdfwindow/PWL_Edit.cpp b/fpdfsdk/pdfwindow/PWL_Edit.cpp |
index f75aa53a5407fbd08043348b0c5276bc53eb2386..620838185ebf615e1f08bf1bf44e345b2b26b7bf 100644 |
--- a/fpdfsdk/pdfwindow/PWL_Edit.cpp |
+++ b/fpdfsdk/pdfwindow/PWL_Edit.cpp |
@@ -46,7 +46,7 @@ void CPWL_Edit::SetText(const FX_WCHAR* csText) { |
int32_t nCount = pXML->CountChildren(); |
FX_BOOL bFirst = TRUE; |
- swText.Empty(); |
+ swText.clear(); |
for (int32_t i = 0; i < nCount; i++) { |
if (CXML_Element* pSubElement = pXML->GetElement(i)) { |