diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-08-23 17:38:26 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-23 17:38:26 +0000 |
commit | 7aa4bc461a171cc2b5a27490a55f0baedd6623fb (patch) | |
tree | f12a7b8e5d444a2980a1fca469cb85350794b635 /xfa/fxfa/cxfa_ffbarcode.cpp | |
parent | 85e622ce52eb3864e94d0fa387af39fc6993bacf (diff) | |
download | pdfium-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/fxfa/cxfa_ffbarcode.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffbarcode.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_ffbarcode.cpp b/xfa/fxfa/cxfa_ffbarcode.cpp index e35f6c8696..e89fc9f01d 100644 --- a/xfa/fxfa/cxfa_ffbarcode.cpp +++ b/xfa/fxfa/cxfa_ffbarcode.cpp @@ -206,9 +206,7 @@ void CXFA_FFBarcode::UpdateWidgetProperty() { if (textLoc) pBarCodeWidget->SetTextLocation(*textLoc); - Optional<bool> truncate = barcode_->GetTruncate(); - if (truncate) - pBarCodeWidget->SetTruncated(*truncate); + // Truncated is currently not a supported flag. Optional<int8_t> ratio = barcode_->GetWideNarrowRatio(); if (ratio) |