| Index: xfa/fxfa/app/xfa_ffdocview.cpp
|
| diff --git a/xfa/fxfa/app/xfa_ffdocview.cpp b/xfa/fxfa/app/xfa_ffdocview.cpp
|
| index d58b594e276e2492d1bb6e794e21c2ad0721bef1..cd48a43a0e02e573a08f34b69e7de204ee2b3501 100644
|
| --- a/xfa/fxfa/app/xfa_ffdocview.cpp
|
| +++ b/xfa/fxfa/app/xfa_ffdocview.cpp
|
| @@ -62,13 +62,12 @@ CXFA_FFDocView::CXFA_FFDocView(CXFA_FFDoc* pDoc)
|
| m_pOldFocusWidget(nullptr),
|
| m_iStatus(XFA_DOCVIEW_LAYOUTSTATUS_None),
|
| m_iLock(0) {}
|
| +
|
| CXFA_FFDocView::~CXFA_FFDocView() {
|
| DestroyDocView();
|
| - if (m_pWidgetHandler) {
|
| - delete m_pWidgetHandler;
|
| - }
|
| - m_pWidgetHandler = NULL;
|
| + delete m_pWidgetHandler;
|
| }
|
| +
|
| void CXFA_FFDocView::InitLayout(CXFA_Node* pNode) {
|
| RunBindItems();
|
| ExecEventActivityByDeepFirst(pNode, XFA_EVENT_Initialize);
|
|
|