diff options
Diffstat (limited to 'xfa/fwl/lightwidget/cfwl_picturebox.cpp')
-rw-r--r-- | xfa/fwl/lightwidget/cfwl_picturebox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fwl/lightwidget/cfwl_picturebox.cpp b/xfa/fwl/lightwidget/cfwl_picturebox.cpp index e6328e72ff..d4b9f30d6e 100644 --- a/xfa/fwl/lightwidget/cfwl_picturebox.cpp +++ b/xfa/fwl/lightwidget/cfwl_picturebox.cpp @@ -23,8 +23,8 @@ FWL_Error CFWL_PictureBox::Initialize( if (pProperties) { *m_pProperties = *pProperties; } - std::unique_ptr<IFWL_PictureBox> pPictureBox(IFWL_PictureBox::Create( - m_pProperties->MakeWidgetImpProperties(&m_PictureBoxDP), nullptr)); + std::unique_ptr<IFWL_PictureBox> pPictureBox(new IFWL_PictureBox( + m_pProperties->MakeWidgetImpProperties(&m_PictureBoxDP))); FWL_Error ret = pPictureBox->Initialize(); if (ret != FWL_Error::Succeeded) { return ret; |