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/BC_Writer.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/BC_Writer.cpp')
-rw-r--r-- | fxbarcode/BC_Writer.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/fxbarcode/BC_Writer.cpp b/fxbarcode/BC_Writer.cpp index 8d639d3f01..711b82a5b4 100644 --- a/fxbarcode/BC_Writer.cpp +++ b/fxbarcode/BC_Writer.cpp @@ -53,6 +53,22 @@ bool CBC_Writer::SetTextLocation(BC_TEXT_LOC location) { return false; } +bool CBC_Writer::SetWideNarrowRatio(int8_t ratio) { + return false; +} + +bool CBC_Writer::SetStartChar(char start) { + return false; +} + +bool CBC_Writer::SetEndChar(char end) { + return false; +} + +bool CBC_Writer::SetErrorCorrectionLevel(int32_t level) { + return false; +} + RetainPtr<CFX_DIBitmap> CBC_Writer::CreateDIBitmap(int32_t width, int32_t height) { auto pDIBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); |