summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_barcode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/core/cfwl_barcode.cpp')
-rw-r--r--xfa/fwl/core/cfwl_barcode.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/xfa/fwl/core/cfwl_barcode.cpp b/xfa/fwl/core/cfwl_barcode.cpp
index c17185990e..996667d874 100644
--- a/xfa/fwl/core/cfwl_barcode.cpp
+++ b/xfa/fwl/core/cfwl_barcode.cpp
@@ -12,18 +12,14 @@ CFWL_Barcode::CFWL_Barcode(const IFWL_App* app) : CFWL_Edit(app) {}
CFWL_Barcode::~CFWL_Barcode() {}
-void CFWL_Barcode::Initialize(const CFWL_WidgetProperties* pProperties) {
+void CFWL_Barcode::Initialize() {
ASSERT(!m_pIface);
-
- if (pProperties)
- *m_pProperties = *pProperties;
-
std::unique_ptr<IFWL_Barcode> pBarcode(new IFWL_Barcode(
m_pApp, m_pProperties->MakeWidgetImpProperties(&m_barcodeData)));
pBarcode->Initialize();
m_pIface = std::move(pBarcode);
- CFWL_Widget::Initialize(pProperties);
+ CFWL_Widget::Initialize();
}
IFWL_Barcode* CFWL_Barcode::GetWidget() {