summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/ifwl_barcode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/core/ifwl_barcode.cpp')
-rw-r--r--xfa/fwl/core/ifwl_barcode.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/xfa/fwl/core/ifwl_barcode.cpp b/xfa/fwl/core/ifwl_barcode.cpp
index 9495dd96b5..3fb430d71b 100644
--- a/xfa/fwl/core/ifwl_barcode.cpp
+++ b/xfa/fwl/core/ifwl_barcode.cpp
@@ -14,9 +14,10 @@
#include "xfa/fwl/core/ifwl_themeprovider.h"
IFWL_Barcode::IFWL_Barcode(const IFWL_App* app,
- const CFWL_WidgetImpProperties& properties)
- : IFWL_Edit(app, properties, nullptr), m_dwStatus(0), m_type(BC_UNKNOWN) {
-}
+ std::unique_ptr<CFWL_WidgetProperties> properties)
+ : IFWL_Edit(app, std::move(properties), nullptr),
+ m_dwStatus(0),
+ m_type(BC_UNKNOWN) {}
IFWL_Barcode::~IFWL_Barcode() {}