Index: xfa/fxfa/app/xfa_fwltheme.cpp |
diff --git a/xfa/fxfa/app/xfa_fwltheme.cpp b/xfa/fxfa/app/xfa_fwltheme.cpp |
index 2ca6237109a0c2bd0ef25034d93a226e6a275ee4..5a494f12311924e18b43cb2183d734e7f77dc5ca 100644 |
--- a/xfa/fxfa/app/xfa_fwltheme.cpp |
+++ b/xfa/fxfa/app/xfa_fwltheme.cpp |
@@ -38,9 +38,7 @@ CXFA_FFWidget* XFA_ThemeGetOuterWidget(CFWL_Widget* pWidget) { |
CFWL_Widget* pOuter = 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) |