Index: xfa/fwl/core/fwl_formimp.cpp |
diff --git a/xfa/fwl/core/fwl_formimp.cpp b/xfa/fwl/core/fwl_formimp.cpp |
index 747e5e83dc6d88a8afc7a75983736e0484d35cc5..0f4b89a774d5ea27869cd48e8969d5122577fd7c 100644 |
--- a/xfa/fwl/core/fwl_formimp.cpp |
+++ b/xfa/fwl/core/fwl_formimp.cpp |
@@ -757,8 +757,7 @@ void CFWL_FormImp::UpdateCaption() { |
CFWL_WidgetMgr* pWidgetMgr = CFWL_WidgetMgr::GetInstance(); |
if (!pWidgetMgr) |
return; |
- IFWL_FormDP* pData = |
- static_cast<IFWL_FormDP*>(m_pProperties->m_pDataProvider); |
+ IFWL_DataProvider* pData = m_pProperties->m_pDataProvider; |
if (!pData) |
return; |
CFX_WideString text; |