Chromium Code Reviews| Index: xfa/fwl/basewidget/fwl_listboximp.cpp |
| diff --git a/xfa/fwl/basewidget/fwl_listboximp.cpp b/xfa/fwl/basewidget/fwl_listboximp.cpp |
| index dd017e215ff5741351aa9e54ee4711ee4c2941c8..05a56fadac6a0de53d1384ba337c6353aebfc103 100644 |
| --- a/xfa/fwl/basewidget/fwl_listboximp.cpp |
| +++ b/xfa/fwl/basewidget/fwl_listboximp.cpp |
| @@ -399,8 +399,7 @@ void CFWL_ListBoxImp::ClearSelection() { |
| for (int32_t i = 0; i < iCount; i++) { |
| FWL_HLISTITEM hItem = pData->GetItem(m_pInterface, i); |
| uint32_t dwState = pData->GetItemStyles(m_pInterface, hItem); |
| - FX_BOOL bFindSel = dwState & FWL_ITEMSTATE_LTB_Selected; |
| - if (!bFindSel) { |
| + if (!(dwState & FWL_ITEMSTATE_LTB_Selected)) { |
|
dsinclair
2016/05/04 13:11:51
nit: no {}'s
Tom Sepez
2016/05/04 20:21:25
Done.
|
| continue; |
| } |
| SetSelectionDirect(hItem, FALSE); |