summaryrefslogtreecommitdiff
path: root/xfa/include/fwl/lightwidget/listbox.h
diff options
context:
space:
mode:
authorJun Fang <jun_fang@foxitsoftware.com>2016-02-23 09:36:10 +0800
committerJun Fang <jun_fang@foxitsoftware.com>2016-02-23 09:36:10 +0800
commit2c115d829d3560fd5082500c552dfe38850881ec (patch)
treed639f60563bcaa6727b9f32fe740d95270919056 /xfa/include/fwl/lightwidget/listbox.h
parent4f4de9a14eed86bb49340079b9bd43ed7a3caf70 (diff)
downloadpdfium-2c115d829d3560fd5082500c552dfe38850881ec.tar.xz
Resolve heap-use-after-free in CFX_WideString::~CFX_WideString()
BUG=pdfium:402 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1719803002 .
Diffstat (limited to 'xfa/include/fwl/lightwidget/listbox.h')
-rw-r--r--xfa/include/fwl/lightwidget/listbox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/include/fwl/lightwidget/listbox.h b/xfa/include/fwl/lightwidget/listbox.h
index 09bc018a63..b30f0f6739 100644
--- a/xfa/include/fwl/lightwidget/listbox.h
+++ b/xfa/include/fwl/lightwidget/listbox.h
@@ -26,7 +26,7 @@ class CFWL_ListBox : public CFWL_Widget {
FWL_HLISTITEM AddString(const CFX_WideStringC& wsAdd,
FX_BOOL bSelect = FALSE);
FX_BOOL DeleteString(FWL_HLISTITEM hItem);
- FX_BOOL DeleteAll();
+ void DeleteAll();
int32_t CountSelItems();
FWL_HLISTITEM GetSelItem(int32_t nIndexSel);
int32_t GetSelIndex(int32_t nIndex);