From 222db47cd745c223bbf52ac5770909c41dc660b8 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 17 Sep 2018 18:54:07 +0000 Subject: 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 Reviewed-by: Henrique Nakashima --- fxbarcode/oned/BC_OnedCode128Writer.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fxbarcode/oned/BC_OnedCode128Writer.h') diff --git a/fxbarcode/oned/BC_OnedCode128Writer.h b/fxbarcode/oned/BC_OnedCode128Writer.h index f91874ce14..3a834e8c98 100644 --- a/fxbarcode/oned/BC_OnedCode128Writer.h +++ b/fxbarcode/oned/BC_OnedCode128Writer.h @@ -33,8 +33,7 @@ class CBC_OnedCode128Writer final : public CBC_OneDimWriter { uint8_t* EncodeImpl(const ByteString& contents, int32_t& outLength) override; bool CheckContentValidity(const WideStringView& contents) override; WideString FilterContents(const WideStringView& contents) override; - - bool SetTextLocation(BC_TEXT_LOC location); + bool SetTextLocation(BC_TEXT_LOC location) override; BC_TYPE GetType() const { return m_codeFormat; } -- cgit v1.2.3