diff options
author | Lei Zhang <thestig@chromium.org> | 2018-09-17 22:22:36 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-09-17 22:22:36 +0000 |
commit | 4c3b4aa6d1df54fe02912fed04a08adc6826310f (patch) | |
tree | 29294bd608b815d503abaa218ca940c4f5a562df /fxbarcode/cbc_codabar.cpp | |
parent | c397a9003207f14e02a09d611d91a6d14a2de771 (diff) | |
download | pdfium-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_codabar.cpp')
-rw-r--r-- | fxbarcode/cbc_codabar.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/fxbarcode/cbc_codabar.cpp b/fxbarcode/cbc_codabar.cpp index f3a3a62dac..700291b2c7 100644 --- a/fxbarcode/cbc_codabar.cpp +++ b/fxbarcode/cbc_codabar.cpp @@ -31,18 +31,6 @@ CBC_Codabar::CBC_Codabar() CBC_Codabar::~CBC_Codabar() {} -bool CBC_Codabar::SetStartChar(char start) { - return GetOnedCodaBarWriter()->SetStartChar(start); -} - -bool CBC_Codabar::SetEndChar(char end) { - return GetOnedCodaBarWriter()->SetEndChar(end); -} - -bool CBC_Codabar::SetWideNarrowRatio(int8_t ratio) { - return GetOnedCodaBarWriter()->SetWideNarrowRatio(ratio); -} - bool CBC_Codabar::Encode(const WideStringView& contents) { if (contents.IsEmpty()) return false; |