summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_barcode.cpp
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2018-08-23 17:38:26 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-23 17:38:26 +0000
commit7aa4bc461a171cc2b5a27490a55f0baedd6623fb (patch)
treef12a7b8e5d444a2980a1fca469cb85350794b635 /xfa/fwl/cfwl_barcode.cpp
parent85e622ce52eb3864e94d0fa387af39fc6993bacf (diff)
downloadpdfium-7aa4bc461a171cc2b5a27490a55f0baedd6623fb.tar.xz
Remove m_bTruncated flag from CBC_PDF417Writer.
The flag is unused. Change-Id: I15eb3e20e6a632ae2aa2afc19cb09d2402e607e0 Reviewed-on: https://pdfium-review.googlesource.com/41031 Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fwl/cfwl_barcode.cpp')
-rw-r--r--xfa/fwl/cfwl_barcode.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/xfa/fwl/cfwl_barcode.cpp b/xfa/fwl/cfwl_barcode.cpp
index 649dea0c8e..edd3512773 100644
--- a/xfa/fwl/cfwl_barcode.cpp
+++ b/xfa/fwl/cfwl_barcode.cpp
@@ -150,11 +150,6 @@ void CFWL_Barcode::SetErrorCorrectionLevel(int32_t ecLevel) {
m_nECLevel = ecLevel;
}
-void CFWL_Barcode::SetTruncated(bool truncated) {
- m_dwAttributeMask |= FWL_BCDATTRIBUTE_TRUNCATED;
- m_bTruncated = truncated;
-}
-
void CFWL_Barcode::GenerateBarcodeImageCache() {
if ((m_dwStatus & XFA_BCS_NeedUpdate) == 0)
return;
@@ -202,8 +197,6 @@ void CFWL_Barcode::GenerateBarcodeImageCache() {
m_pBarcodeEngine->SetEndChar(m_cEndChar);
if (m_dwAttributeMask & FWL_BCDATTRIBUTE_ECLEVEL)
m_pBarcodeEngine->SetErrorCorrectionLevel(m_nECLevel);
- if (m_dwAttributeMask & FWL_BCDATTRIBUTE_TRUNCATED)
- m_pBarcodeEngine->SetTruncated(m_bTruncated);
m_dwStatus = m_pBarcodeEngine->Encode(GetText().AsStringView())
? XFA_BCS_EncodeSuccess