summaryrefslogtreecommitdiff
path: root/xfa/src/fwl/src/lightwidget/picturebox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fwl/src/lightwidget/picturebox.cpp')
-rw-r--r--xfa/src/fwl/src/lightwidget/picturebox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/src/fwl/src/lightwidget/picturebox.cpp b/xfa/src/fwl/src/lightwidget/picturebox.cpp
index 5ccefa9076..7d8e201d85 100644
--- a/xfa/src/fwl/src/lightwidget/picturebox.cpp
+++ b/xfa/src/fwl/src/lightwidget/picturebox.cpp
@@ -14,7 +14,7 @@ FWL_ERR CFWL_PictureBox::Initialize(const CFWL_WidgetProperties* pProperties) {
if (pProperties) {
*m_pProperties = *pProperties;
}
- m_pIface = IFWL_PictureBox::Create();
+ m_pIface = new IFWL_PictureBox;
FWL_ERR ret =
((IFWL_PictureBox*)m_pIface)
->Initialize(m_pProperties->MakeWidgetImpProperties(&m_PictureBoxDP),