summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_listitem.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-09 10:09:03 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-09 10:09:03 -0800
commit3ff4deea307c38462393e4f83dabe32949338168 (patch)
treee99ff3fbe696997ef56c7d5a39537d5d26d0e74a /xfa/fwl/core/cfwl_listitem.cpp
parent1e21c0d076cc6cc61f36a1835dc886f721fdc4d6 (diff)
downloadpdfium-3ff4deea307c38462393e4f83dabe32949338168.tar.xz
Rename IFWL_ListItem to CFWL_ListItem
This CL removes the empty IFWL_ListItem class and uses CFWL_ListItem in its place. As well, the CFWL_ComboListItem is removed and replaced with CFWL_ListItem. These were almost duplicate classes and the one missing field added to CFWL_ListItem. Review-Url: https://codereview.chromium.org/2487943003
Diffstat (limited to 'xfa/fwl/core/cfwl_listitem.cpp')
-rw-r--r--xfa/fwl/core/cfwl_listitem.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/xfa/fwl/core/cfwl_listitem.cpp b/xfa/fwl/core/cfwl_listitem.cpp
new file mode 100644
index 0000000000..4419839024
--- /dev/null
+++ b/xfa/fwl/core/cfwl_listitem.cpp
@@ -0,0 +1,19 @@
+// Copyright 2016 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#include "xfa/fwl/core/cfwl_listitem.h"
+
+CFWL_ListItem::CFWL_ListItem()
+ : m_dwStates(0),
+ m_wsText(L""),
+ m_pDIB(nullptr),
+ m_pData(nullptr),
+ m_dwCheckState(0) {
+ m_rtCheckBox.Reset();
+ m_rtItem.Reset();
+}
+
+CFWL_ListItem::~CFWL_ListItem() {}