Index: xfa/fwl/basewidget/fwl_editimp.cpp |
diff --git a/xfa/fwl/basewidget/fwl_editimp.cpp b/xfa/fwl/basewidget/fwl_editimp.cpp |
index a2eab8a60d275f7dc6d4bce04f678bf5a72d7773..1e0fede4be67a715d77b3391d115751f591d7b5d 100644 |
--- a/xfa/fwl/basewidget/fwl_editimp.cpp |
+++ b/xfa/fwl/basewidget/fwl_editimp.cpp |
@@ -1480,7 +1480,7 @@ int32_t CFWL_EditImp::AddDoRecord(const CFX_ByteStringC& bsDoRecord) { |
m_RecordArr.RemoveAt(i); |
} |
} |
- m_RecordArr.Add(bsDoRecord); |
+ m_RecordArr.Add(CFX_ByteString(bsDoRecord)); |
return m_iCurRecord = m_RecordArr.GetSize() - 1; |
} |
void CFWL_EditImp::Layout() { |