summaryrefslogtreecommitdiff
path: root/fxbarcode/cbc_pdf417i.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-09-17 22:22:36 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-09-17 22:22:36 +0000
commit4c3b4aa6d1df54fe02912fed04a08adc6826310f (patch)
tree29294bd608b815d503abaa218ca940c4f5a562df /fxbarcode/cbc_pdf417i.cpp
parentc397a9003207f14e02a09d611d91a6d14a2de771 (diff)
downloadpdfium-4c3b4aa6d1df54fe02912fed04a08adc6826310f.tar.xz
Make CBC_CodeBase::SetWideNarrowRatio() not virtual.
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>
Diffstat (limited to 'fxbarcode/cbc_pdf417i.cpp')
-rw-r--r--fxbarcode/cbc_pdf417i.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/fxbarcode/cbc_pdf417i.cpp b/fxbarcode/cbc_pdf417i.cpp
index b01197954c..d259516ee4 100644
--- a/fxbarcode/cbc_pdf417i.cpp
+++ b/fxbarcode/cbc_pdf417i.cpp
@@ -31,11 +31,6 @@ CBC_PDF417I::CBC_PDF417I()
CBC_PDF417I::~CBC_PDF417I() {}
-bool CBC_PDF417I::SetErrorCorrectionLevel(int32_t level) {
- GetPDF417Writer()->SetErrorCorrectionLevel(level);
- return true;
-}
-
bool CBC_PDF417I::Encode(const WideStringView& contents) {
int32_t outWidth;
int32_t outHeight;