summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_listitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/cfwl_listitem.cpp')
-rw-r--r--xfa/fwl/cfwl_listitem.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/xfa/fwl/cfwl_listitem.cpp b/xfa/fwl/cfwl_listitem.cpp
index 3e23b17d91..049548a1f5 100644
--- a/xfa/fwl/cfwl_listitem.cpp
+++ b/xfa/fwl/cfwl_listitem.cpp
@@ -6,11 +6,8 @@
#include "xfa/fwl/cfwl_listitem.h"
-CFWL_ListItem::CFWL_ListItem()
- : m_dwStates(0),
- m_wsText(L""),
- m_pDIB(nullptr),
- m_dwCheckState(0) {
+CFWL_ListItem::CFWL_ListItem(const CFX_WideString& text)
+ : m_dwStates(0), m_wsText(text), m_pDIB(nullptr), m_dwCheckState(0) {
m_rtCheckBox.Reset();
m_rtItem.Reset();
}