From 1eae16d3b17d6b396969ecf81f6546f5a1d72dfd Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Tue, 5 Sep 2017 12:07:02 -0400 Subject: Remove isDevice parameter from barcode Render(). isDevice is currently false in tests and fuzzers and true in real usage. This CL changes it all to true. Change-Id: Idea14795d7f0bb70031e04e5c58e248de72fd39e Reviewed-on: https://pdfium-review.googlesource.com/13130 Commit-Queue: Henrique Nakashima Reviewed-by: Tom Sepez --- fxbarcode/oned/BC_OnedCode39Writer.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'fxbarcode/oned/BC_OnedCode39Writer.cpp') diff --git a/fxbarcode/oned/BC_OnedCode39Writer.cpp b/fxbarcode/oned/BC_OnedCode39Writer.cpp index ba8769ed95..72d7dc4df8 100644 --- a/fxbarcode/oned/BC_OnedCode39Writer.cpp +++ b/fxbarcode/oned/BC_OnedCode39Writer.cpp @@ -245,11 +245,10 @@ bool CBC_OnedCode39Writer::encodedContents(const CFX_WideStringC& contents, bool CBC_OnedCode39Writer::RenderResult(const CFX_WideStringC& contents, uint8_t* code, - int32_t codeLength, - bool isDevice) { + int32_t codeLength) { CFX_WideString encodedCon; if (!encodedContents(contents, &encodedCon)) return false; return CBC_OneDimWriter::RenderResult(encodedCon.AsStringC(), code, - codeLength, isDevice); + codeLength); } -- cgit v1.2.3