Chromium Code Reviews| Index: xfa/src/fwl/src/core/fwl_formimp.cpp |
| diff --git a/xfa/src/fwl/src/core/fwl_formimp.cpp b/xfa/src/fwl/src/core/fwl_formimp.cpp |
| index 85139ca1a1c834d7b204747bf7ac049fad1939e9..2facbf37578832440e1b58d848e8d3635e32569c 100644 |
| --- a/xfa/src/fwl/src/core/fwl_formimp.cpp |
| +++ b/xfa/src/fwl/src/core/fwl_formimp.cpp |
| @@ -885,7 +885,7 @@ void CFWL_FormImp::SetThemeData() { |
| } |
| FX_BOOL CFWL_FormImp::HasIcon() { |
| IFWL_FormDP* pData = (IFWL_FormDP*)m_pProperties->m_pDataProvider; |
| - return pData->GetIcon(m_pInterface, FALSE) ? TRUE : FALSE; |
| + return !!pData->GetIcon(m_pInterface, FALSE); |
|
Tom Sepez
2015/10/19 20:16:10
what's the return type on this? Is it already boo
Lei Zhang
2015/10/20 00:41:43
It's a pointer. xfa/include/fwl/core/fwl_form.h li
Tom Sepez
2015/10/20 16:33:15
Acknowledged.
|
| } |
| void CFWL_FormImp::UpdateIcon() { |
| CFWL_WidgetMgr* pWidgetMgr = (CFWL_WidgetMgr*)FWL_GetWidgetMgr(); |