aboutsummaryrefslogtreecommitdiffstats
path: root/fxbarcode/cbc_codebase.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove CBC_Writer::Set{Background,Barcode}Color().Tom Sepez2019-11-081-8/+0
| | | | | | | | | | | These are only called from the same-named methods in CBC_CodeBase, which are themselves not called. Replace the members formerly set with static constants. Change-Id: Ic75409924d9502bfedf8018b757d824b09a2bcf1 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/62030 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
* Make CBC_CodeBase::SetWideNarrowRatio() not virtual.Lei Zhang2018-09-171-4/+4
| | | | | | | | | | Make CBC_Writer::SetWideNarrowRatio() virtual instead. Do the same for SetStartChar(), SetEndChar(), and SetErrorCorrectionLevel(). Change-Id: I70e87c0e9f8b772331105e57dd26075db3cfcb95 Reviewed-on: https://pdfium-review.googlesource.com/42602 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
* Make CBC_CodeBase::SetTextLocation() not virtual.Lei Zhang2018-09-171-1/+1
| | | | | | | | | Make CBC_Writer::SetTextLocation() virtual instead. Change-Id: I9ac06affe35f3c7bebc2f5ff0917e7146cfe89cc Reviewed-on: https://pdfium-review.googlesource.com/42601 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
* Make CBC_CodeBase::SetTextLocation() virtual.Lei Zhang2018-09-171-0/+20
| | | | | | | | | | Do the same for a few other CBC_CodeBase methods, instead of trying to implement virtual methods manually using memory pointers. Change-Id: Iec0e3a4f8eabc54962c7ac0a00a1b80b192ff474 Reviewed-on: https://pdfium-review.googlesource.com/42600 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
* Remove more |new|s, part 8Tom Sepez2017-05-021-1/+4
| | | | | | | Change-Id: I0e3f4bd33e66fd48db8371a5cc2f8db964720d08 Reviewed-on: https://pdfium-review.googlesource.com/4731 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
* Change more fxbarcode to use return values.Lei Zhang2017-04-211-9/+7
| | | | | | | Change-Id: Idcc05fb8c5a1448f552b4db5ae131ad82aef4d59 Reviewed-on: https://pdfium-review.googlesource.com/4258 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
* Move xfa/fxbarcode fxbarcode/Dan Sinclair2017-03-291-0/+58
Nothing in fxbarcode/ depends on XFA code. This CL moves xfa/fxbarcode to be fxbarcode/ and creates a static_library for fxbarcode which is depend on by the xfa library. Change-Id: I0b708737b07efb94b769a5238d92af92bc62880d Reviewed-on: https://pdfium-review.googlesource.com/3291 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>