| Index: xfa/fwl/core/fwl_noteimp.cpp
|
| diff --git a/xfa/fwl/core/fwl_noteimp.cpp b/xfa/fwl/core/fwl_noteimp.cpp
|
| index 267b2ca2ee8f642987887247db8389f93bd84083..39afa783c0326420409f982e286c8f47a36dfb45 100644
|
| --- a/xfa/fwl/core/fwl_noteimp.cpp
|
| +++ b/xfa/fwl/core/fwl_noteimp.cpp
|
| @@ -870,20 +870,20 @@ CFWL_ToolTipContainer::~CFWL_ToolTipContainer() {
|
| }
|
| delete m_ToolTipDp;
|
| }
|
| +
|
| // static
|
| CFWL_ToolTipContainer* CFWL_ToolTipContainer::getInstance() {
|
| - if (!s_pInstance) {
|
| + if (!s_pInstance)
|
| s_pInstance = new CFWL_ToolTipContainer;
|
| - }
|
| return s_pInstance;
|
| }
|
| +
|
| // static
|
| void CFWL_ToolTipContainer::DeleteInstance() {
|
| - if (s_pInstance) {
|
| - delete s_pInstance;
|
| - s_pInstance = NULL;
|
| - }
|
| + delete s_pInstance;
|
| + s_pInstance = NULL;
|
| }
|
| +
|
| FX_ERR CFWL_ToolTipContainer::AddToolTipTarget(IFWL_ToolTipTarget* pTarget) {
|
| if (m_arrWidget.Find(pTarget) < 0) {
|
| m_arrWidget.Add(pTarget);
|
|
|