Index: xfa/fwl/core/cfwl_barcode.cpp |
diff --git a/xfa/fwl/core/cfwl_barcode.cpp b/xfa/fwl/core/cfwl_barcode.cpp |
index 053826d6b7ca1350b84eeeb8af38d04187705879..ef3ae4036d3789241d61def3c99e61122f7e31d3 100644 |
--- a/xfa/fwl/core/cfwl_barcode.cpp |
+++ b/xfa/fwl/core/cfwl_barcode.cpp |
@@ -83,11 +83,6 @@ void CFWL_Barcode::SetEndChar(FX_CHAR endChar) { |
m_cEndChar = endChar; |
} |
-void CFWL_Barcode::SetVersion(int32_t version) { |
- m_dwAttributeMask |= FWL_BCDATTRIBUTE_VERSION; |
- m_nVersion = version; |
-} |
- |
void CFWL_Barcode::SetErrorCorrectionLevel(int32_t ecLevel) { |
m_dwAttributeMask |= FWL_BCDATTRIBUTE_ECLEVEL; |
m_nECLevel = ecLevel; |
@@ -98,10 +93,6 @@ void CFWL_Barcode::SetTruncated(bool truncated) { |
m_bTruncated = truncated; |
} |
-void CFWL_Barcode::ResetBarcodeAttributes() { |
- m_dwAttributeMask = FWL_BCDATTRIBUTE_NONE; |
-} |
- |
void CFWL_Barcode::SetType(BC_TYPE type) { |
if (GetWidget()) |
ToBarcode(GetWidget())->SetType(type); |
@@ -155,7 +146,7 @@ FX_CHAR CFWL_Barcode::GetEndChar() const { |
} |
int32_t CFWL_Barcode::GetVersion() const { |
- return m_nVersion; |
+ return 0; |
} |
int32_t CFWL_Barcode::GetErrorCorrectionLevel() const { |