From c5709dd345c748016a637b2104544895223f8fc7 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 17 Sep 2018 18:10:36 +0000 Subject: Make CBC_CodeBase::SetTextLocation() virtual. Do the same for a few other CBC_CodeBase methods, instead of trying to implement virtual methods manually using memory pointers. Change-Id: Iec0e3a4f8eabc54962c7ac0a00a1b80b192ff474 Reviewed-on: https://pdfium-review.googlesource.com/42600 Reviewed-by: Henrique Nakashima Commit-Queue: Lei Zhang --- fxbarcode/oned/BC_OnedCode39Writer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fxbarcode/oned') diff --git a/fxbarcode/oned/BC_OnedCode39Writer.h b/fxbarcode/oned/BC_OnedCode39Writer.h index 0791062660..97ef7a22b5 100644 --- a/fxbarcode/oned/BC_OnedCode39Writer.h +++ b/fxbarcode/oned/BC_OnedCode39Writer.h @@ -29,7 +29,7 @@ class CBC_OnedCode39Writer final : public CBC_OneDimWriter { WideString FilterContents(const WideStringView& contents) override; WideString RenderTextContents(const WideStringView& contents) override; - virtual bool SetTextLocation(BC_TEXT_LOC loction); + virtual bool SetTextLocation(BC_TEXT_LOC location); virtual bool SetWideNarrowRatio(int8_t ratio); bool encodedContents(const WideStringView& contents, WideString* result); -- cgit v1.2.3