summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_barcode.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-14 09:01:37 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-14 09:01:37 -0800
commitc64b76c97c7f469ebd4126f314badceeb8a78b8b (patch)
treeb2a77865503271247156447e30c9ab2a9db2f6f4 /xfa/fwl/core/cfwl_barcode.cpp
parent27e66753c8bd6e664f26d05c1a468dc68be01913 (diff)
downloadpdfium-c64b76c97c7f469ebd4126f314badceeb8a78b8b.tar.xz
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
Diffstat (limited to 'xfa/fwl/core/cfwl_barcode.cpp')
-rw-r--r--xfa/fwl/core/cfwl_barcode.cpp11
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 {