diff options
Diffstat (limited to 'xfa/src/fwl/src/core/fwl_formimp.cpp')
-rw-r--r-- | xfa/src/fwl/src/core/fwl_formimp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/src/fwl/src/core/fwl_formimp.cpp b/xfa/src/fwl/src/core/fwl_formimp.cpp index 85139ca1a1..2facbf3757 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);
}
void CFWL_FormImp::UpdateIcon() {
CFWL_WidgetMgr* pWidgetMgr = (CFWL_WidgetMgr*)FWL_GetWidgetMgr();
|