summaryrefslogtreecommitdiff
path: root/fxbarcode/cbc_code39.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_code39.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_code39.cpp')
-rw-r--r--fxbarcode/cbc_code39.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/fxbarcode/cbc_code39.cpp b/fxbarcode/cbc_code39.cpp
index 6aa3646e97..20316508c2 100644
--- a/fxbarcode/cbc_code39.cpp
+++ b/fxbarcode/cbc_code39.cpp
@@ -61,10 +61,6 @@ BC_TYPE CBC_Code39::GetType() {
return BC_CODE39;
}
-bool CBC_Code39::SetWideNarrowRatio(int8_t ratio) {
- return GetOnedCode39Writer()->SetWideNarrowRatio(ratio);
-}
-
CBC_OnedCode39Writer* CBC_Code39::GetOnedCode39Writer() {
return static_cast<CBC_OnedCode39Writer*>(m_pBCWriter.get());
}