diff options
Diffstat (limited to 'xfa/src/fwl/src/core/fwl_panelimp.cpp')
-rw-r--r-- | xfa/src/fwl/src/core/fwl_panelimp.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/src/fwl/src/core/fwl_panelimp.cpp b/xfa/src/fwl/src/core/fwl_panelimp.cpp index 54da08d600..bca581b03d 100644 --- a/xfa/src/fwl/src/core/fwl_panelimp.cpp +++ b/xfa/src/fwl/src/core/fwl_panelimp.cpp @@ -13,13 +13,13 @@ IFWL_Panel* IFWL_Panel::Create() { return new IFWL_Panel;
}
FWL_ERR IFWL_Panel::Initialize(IFWL_Widget* pOuter) {
- m_pData = FX_NEW CFWL_PanelImp(pOuter);
+ m_pData = new CFWL_PanelImp(pOuter);
((CFWL_PanelImp*)m_pData)->SetInterface(this);
return ((CFWL_PanelImp*)m_pData)->Initialize();
}
FWL_ERR IFWL_Panel::Initialize(CFWL_WidgetImpProperties& properties,
IFWL_Widget* pOuter) {
- m_pData = FX_NEW CFWL_PanelImp(properties, pOuter);
+ m_pData = new CFWL_PanelImp(properties, pOuter);
((CFWL_PanelImp*)m_pData)->SetInterface(this);
return ((CFWL_PanelImp*)m_pData)->Initialize();
}
@@ -142,13 +142,13 @@ IFWL_CustomPanel* IFWL_CustomPanel::Create() { return new IFWL_CustomPanel;
}
FWL_ERR IFWL_CustomPanel::Initialize(IFWL_Widget* pOuter) {
- m_pData = FX_NEW CFWL_CustomPanelImp(pOuter);
+ m_pData = new CFWL_CustomPanelImp(pOuter);
((CFWL_CustomPanelImp*)m_pData)->SetInterface(this);
return ((CFWL_CustomPanelImp*)m_pData)->Initialize();
}
FWL_ERR IFWL_CustomPanel::Initialize(CFWL_WidgetImpProperties& properties,
IFWL_Widget* pOuter) {
- m_pData = FX_NEW CFWL_CustomPanelImp(properties, pOuter);
+ m_pData = new CFWL_CustomPanelImp(properties, pOuter);
((CFWL_CustomPanelImp*)m_pData)->SetInterface(this);
return ((CFWL_CustomPanelImp*)m_pData)->Initialize();
}
|