| Index: xfa/src/fwl/src/core/fwl_contentimp.cpp
|
| diff --git a/xfa/src/fwl/src/core/fwl_contentimp.cpp b/xfa/src/fwl/src/core/fwl_contentimp.cpp
|
| index 130b4cb1a115ae41bd13c98e2b42aed57532ecc9..444cf0d537cc36e9705fe8022047c140d3830dde 100644
|
| --- a/xfa/src/fwl/src/core/fwl_contentimp.cpp
|
| +++ b/xfa/src/fwl/src/core/fwl_contentimp.cpp
|
| @@ -58,7 +58,7 @@ FWL_ERR CFWL_ContentImp::InsertWidget(IFWL_Widget* pChild, int32_t nIndex) {
|
| if (nIndex == -1) {
|
| return FWL_ERR_Succeeded;
|
| }
|
| - CFWL_WidgetMgr* pMgr = (CFWL_WidgetMgr*)FWL_GetWidgetMgr();
|
| + CFWL_WidgetMgr* pMgr = static_cast<CFWL_WidgetMgr*>(FWL_GetWidgetMgr());
|
| if (!pMgr)
|
| return FWL_ERR_Indefinite;
|
| pMgr->SetWidgetIndex(pChild, nIndex);
|
| @@ -71,7 +71,7 @@ FWL_ERR CFWL_ContentImp::RemoveWidget(IFWL_Widget* pWidget) {
|
| return FWL_ERR_Succeeded;
|
| }
|
| FWL_ERR CFWL_ContentImp::RemoveAllWidgets() {
|
| - CFWL_WidgetMgr* pMgr = (CFWL_WidgetMgr*)FWL_GetWidgetMgr();
|
| + CFWL_WidgetMgr* pMgr = static_cast<CFWL_WidgetMgr*>(FWL_GetWidgetMgr());
|
| if (!pMgr)
|
| return FWL_ERR_Indefinite;
|
| while (IFWL_Widget* widget =
|
|
|