Index: xfa/fwl/basewidget/fwl_editimp.cpp |
diff --git a/xfa/fwl/basewidget/fwl_editimp.cpp b/xfa/fwl/basewidget/fwl_editimp.cpp |
index 8deec9beb2d3be215f1e72f9a7d85944a49898df..85292dfaa5af2168c13e2c951e4f59bbd4e37c65 100644 |
--- a/xfa/fwl/basewidget/fwl_editimp.cpp |
+++ b/xfa/fwl/basewidget/fwl_editimp.cpp |
@@ -296,13 +296,15 @@ FWL_ERR CFWL_EditImp::GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize) { |
} |
return FWL_ERR_Succeeded; |
} |
-FWL_ERR CFWL_EditImp::SetStates(uint32_t dwStates, FX_BOOL bSet) { |
+ |
+void CFWL_EditImp::SetStates(uint32_t dwStates, FX_BOOL bSet) { |
if ((m_pProperties->m_dwStates & FWL_WGTSTATE_Invisible) || |
(m_pProperties->m_dwStates & FWL_WGTSTATE_Disabled)) { |
ShowCaret(FALSE); |
} |
- return CFWL_WidgetImp::SetStates(dwStates, bSet); |
+ CFWL_WidgetImp::SetStates(dwStates, bSet); |
} |
+ |
FWL_ERR CFWL_EditImp::SetWidgetRect(const CFX_RectF& rect) { |
return CFWL_WidgetImp::SetWidgetRect(rect); |
} |