| Index: xfa/fwl/lightwidget/cfwl_combobox.cpp
|
| diff --git a/xfa/fwl/lightwidget/cfwl_combobox.cpp b/xfa/fwl/lightwidget/cfwl_combobox.cpp
|
| index 4ec323ae7d162cd555800894b158277847082a94..9c4cd05e57bd1bb5a0fce0367b0cb252581288be 100644
|
| --- a/xfa/fwl/lightwidget/cfwl_combobox.cpp
|
| +++ b/xfa/fwl/lightwidget/cfwl_combobox.cpp
|
| @@ -248,12 +248,13 @@ FWL_Error CFWL_ComboBox::CFWL_ComboBoxDP::GetCaption(
|
| return FWL_Error::Succeeded;
|
| }
|
|
|
| -int32_t CFWL_ComboBox::CFWL_ComboBoxDP::CountItems(IFWL_Widget* pWidget) {
|
| +int32_t CFWL_ComboBox::CFWL_ComboBoxDP::CountItems(const IFWL_Widget* pWidget) {
|
| return m_ItemArray.size();
|
| }
|
|
|
| -IFWL_ListItem* CFWL_ComboBox::CFWL_ComboBoxDP::GetItem(IFWL_Widget* pWidget,
|
| - int32_t nIndex) {
|
| +IFWL_ListItem* CFWL_ComboBox::CFWL_ComboBoxDP::GetItem(
|
| + const IFWL_Widget* pWidget,
|
| + int32_t nIndex) {
|
| if (nIndex < 0 || static_cast<size_t>(nIndex) >= m_ItemArray.size())
|
| return nullptr;
|
|
|
|
|