| Index: xfa/fwl/cfwl_edit.cpp
|
| diff --git a/xfa/fwl/cfwl_edit.cpp b/xfa/fwl/cfwl_edit.cpp
|
| index 913f08d7b95aad2619619220927de0127f7480e1..5cf3f2f0065915bdb24920993309e1c91a0a43c6 100644
|
| --- a/xfa/fwl/cfwl_edit.cpp
|
| +++ b/xfa/fwl/cfwl_edit.cpp
|
| @@ -1168,8 +1168,7 @@ void CFWL_Edit::ShowCaret(CFX_RectF* pRect) {
|
| pRect->Offset(rtOuter.left, rtOuter.top);
|
| }
|
|
|
| - CXFA_FFWidget* pXFAWidget =
|
| - static_cast<CXFA_FFWidget*>(pOuter->GetLayoutItem());
|
| + CXFA_FFWidget* pXFAWidget = pOuter->GetLayoutItem();
|
| if (!pXFAWidget)
|
| return;
|
|
|
| @@ -1197,8 +1196,7 @@ void CFWL_Edit::HideCaret(CFX_RectF* pRect) {
|
| while (pOuter->GetOuter())
|
| pOuter = pOuter->GetOuter();
|
|
|
| - CXFA_FFWidget* pXFAWidget =
|
| - static_cast<CXFA_FFWidget*>(pOuter->GetLayoutItem());
|
| + CXFA_FFWidget* pXFAWidget = pOuter->GetLayoutItem();
|
| if (!pXFAWidget)
|
| return;
|
|
|
|
|