From e58febc04514694935fcdf00f604419a1e5076b0 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Wed, 19 Oct 2016 10:06:46 -0700 Subject: Remove SetDataProvider from IFWL_Widget Method is not called, removed. Review-Url: https://chromiumcodereview.appspot.com/2433103002 --- xfa/fwl/core/fwl_formimp.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xfa/fwl/core/fwl_formimp.cpp') diff --git a/xfa/fwl/core/fwl_formimp.cpp b/xfa/fwl/core/fwl_formimp.cpp index 747e5e83dc..0f4b89a774 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(m_pProperties->m_pDataProvider); + IFWL_DataProvider* pData = m_pProperties->m_pDataProvider; if (!pData) return; CFX_WideString text; -- cgit v1.2.3