| Index: xfa/fxfa/app/xfa_fwltheme.cpp
|
| diff --git a/xfa/fxfa/app/xfa_fwltheme.cpp b/xfa/fxfa/app/xfa_fwltheme.cpp
|
| index 14649f1b80add370328113ca371962e94c864a28..7d8a38e4da5a71ea5c30ac3f07e6b61d6304cfaa 100644
|
| --- a/xfa/fxfa/app/xfa_fwltheme.cpp
|
| +++ b/xfa/fxfa/app/xfa_fwltheme.cpp
|
| @@ -38,8 +38,7 @@ CXFA_FFWidget* XFA_ThemeGetOuterWidget(IFWL_Widget* pWidget) {
|
| while (pOuter && pOuter->GetOuter())
|
| pOuter = pOuter->GetOuter();
|
|
|
| - return pOuter ? static_cast<CXFA_FFWidget*>(pOuter->GetLayoutItem())
|
| - : nullptr;
|
| + return pOuter ? pOuter->GetLayoutItem() : nullptr;
|
| }
|
|
|
| CXFA_FWLTheme::CXFA_FWLTheme(CXFA_FFApp* pApp) : m_pApp(pApp) {
|
|
|