From c64b76c97c7f469ebd4126f314badceeb8a78b8b Mon Sep 17 00:00:00 2001 From: dsinclair Date: Mon, 14 Nov 2016 09:01:37 -0800 Subject: Cleanup remaining IFWL files for visiblity and usage. This CL cleans up the remaining ifwl_* files to fixup visibility, remove unused methods and remove unused FWL_Error return codes. Review-Url: https://codereview.chromium.org/2502653002 --- xfa/fwl/core/cfwl_barcode.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'xfa/fwl/core/cfwl_barcode.cpp') 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 { -- cgit v1.2.3