diff options
Diffstat (limited to 'xfa/src/fwl/src/lightwidget/tooltipctrl.cpp')
-rw-r--r-- | xfa/src/fwl/src/lightwidget/tooltipctrl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xfa/src/fwl/src/lightwidget/tooltipctrl.cpp b/xfa/src/fwl/src/lightwidget/tooltipctrl.cpp index 76944880df..f51ec221a0 100644 --- a/xfa/src/fwl/src/lightwidget/tooltipctrl.cpp +++ b/xfa/src/fwl/src/lightwidget/tooltipctrl.cpp @@ -15,7 +15,8 @@ CFWL_ToolTip* CFWL_ToolTip::Create() { return new CFWL_ToolTip;
}
FWL_ERR CFWL_ToolTip::Initialize(const CFWL_WidgetProperties* pProperties) {
- _FWL_RETURN_VALUE_IF_FAIL(!m_pIface, FWL_ERR_Indefinite);
+ if (m_pIface)
+ return FWL_ERR_Indefinite;
if (pProperties) {
*m_pProperties = *pProperties;
}
|