| Index: xfa/fwl/basewidget/fwl_caretimp.cpp
|
| diff --git a/xfa/fwl/basewidget/fwl_caretimp.cpp b/xfa/fwl/basewidget/fwl_caretimp.cpp
|
| index 3cb2ed60f76fa4e06fb9cf9d243e920dee3ddff9..c61c459f2ebdbe9bb779823b99d78debf54f46df 100644
|
| --- a/xfa/fwl/basewidget/fwl_caretimp.cpp
|
| +++ b/xfa/fwl/basewidget/fwl_caretimp.cpp
|
| @@ -44,12 +44,11 @@ CFWL_CaretImp::CFWL_CaretImp(const CFWL_WidgetImpProperties& properties,
|
| m_pTimer = new CFWL_CaretTimer(this);
|
| SetStates(FWL_STATE_CAT_HightLight);
|
| }
|
| +
|
| CFWL_CaretImp::~CFWL_CaretImp() {
|
| - if (m_pTimer) {
|
| - delete m_pTimer;
|
| - m_pTimer = NULL;
|
| - }
|
| + delete m_pTimer;
|
| }
|
| +
|
| FWL_ERR CFWL_CaretImp::GetClassName(CFX_WideString& wsClass) const {
|
| wsClass = FWL_CLASS_Caret;
|
| return FWL_ERR_Succeeded;
|
|
|