summaryrefslogtreecommitdiff
path: root/fxbarcode/cbc_code128.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-09-17 18:54:07 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-09-17 18:54:07 +0000
commit222db47cd745c223bbf52ac5770909c41dc660b8 (patch)
treef570fd38c1fa427fd60eeadf3b86ead966d8b9a4 /fxbarcode/cbc_code128.cpp
parentbff81396b7aee1cc195194d0d1122d8fbec7dfb9 (diff)
downloadpdfium-222db47cd745c223bbf52ac5770909c41dc660b8.tar.xz
Make CBC_CodeBase::SetTextLocation() not virtual.
Make CBC_Writer::SetTextLocation() virtual instead. Change-Id: I9ac06affe35f3c7bebc2f5ff0917e7146cfe89cc Reviewed-on: https://pdfium-review.googlesource.com/42601 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'fxbarcode/cbc_code128.cpp')
-rw-r--r--fxbarcode/cbc_code128.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/fxbarcode/cbc_code128.cpp b/fxbarcode/cbc_code128.cpp
index 8e83e2251c..7a825c4150 100644
--- a/fxbarcode/cbc_code128.cpp
+++ b/fxbarcode/cbc_code128.cpp
@@ -31,10 +31,6 @@ CBC_Code128::CBC_Code128(BC_TYPE type)
CBC_Code128::~CBC_Code128() {}
-bool CBC_Code128::SetTextLocation(BC_TEXT_LOC location) {
- return GetOnedCode128Writer()->SetTextLocation(location);
-}
-
bool CBC_Code128::Encode(const WideStringView& contents) {
if (contents.IsEmpty())
return false;