From 4c3b4aa6d1df54fe02912fed04a08adc6826310f Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 17 Sep 2018 22:22:36 +0000 Subject: 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 Reviewed-by: Henrique Nakashima --- fxbarcode/cbc_pdf417i.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'fxbarcode/cbc_pdf417i.cpp') 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; -- cgit v1.2.3