diff options
Diffstat (limited to 'xfa/fwl/core/cfwl_barcode.cpp')
-rw-r--r-- | xfa/fwl/core/cfwl_barcode.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/xfa/fwl/core/cfwl_barcode.cpp b/xfa/fwl/core/cfwl_barcode.cpp index 053826d6b7..ef3ae4036d 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 { |