| Index: xfa/fxfa/app/xfa_ffbarcode.cpp
|
| diff --git a/xfa/fxfa/app/xfa_ffbarcode.cpp b/xfa/fxfa/app/xfa_ffbarcode.cpp
|
| index 4bb3ba0a4dde5776db3bc611920fdd30ff06f7cd..42564e92f786bdfc7333f3b99d92adaebb5019bb 100644
|
| --- a/xfa/fxfa/app/xfa_ffbarcode.cpp
|
| +++ b/xfa/fxfa/app/xfa_ffbarcode.cpp
|
| @@ -121,10 +121,9 @@ CXFA_FFBarcode::CXFA_FFBarcode(CXFA_FFPageView* pPageView,
|
| : CXFA_FFTextEdit(pPageView, pDataAcc) {}
|
| CXFA_FFBarcode::~CXFA_FFBarcode() {}
|
| FX_BOOL CXFA_FFBarcode::LoadWidget() {
|
| - CFWL_Barcode* pFWLBarcode = CFWL_Barcode::Create();
|
| - if (pFWLBarcode) {
|
| - pFWLBarcode->Initialize();
|
| - }
|
| + CFWL_Barcode* pFWLBarcode = new CFWL_Barcode;
|
| + pFWLBarcode->Initialize();
|
| +
|
| m_pNormalWidget = pFWLBarcode;
|
| m_pNormalWidget->SetLayoutItem(this);
|
| IFWL_Widget* pWidget = m_pNormalWidget->GetWidget();
|
|
|