summaryrefslogtreecommitdiff
path: root/fxbarcode/pdf417/BC_PDF417Writer.h
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2018-08-22 18:43:03 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-22 18:43:03 +0000
commit7e7e0b8379c4bdcf3e16cd2298afe49f03fefdfb (patch)
treeb4557cc0b6c792295da48431f80cb3a510fc0861 /fxbarcode/pdf417/BC_PDF417Writer.h
parent0928bc5aba36e47ef5c330cb1157d351bd1e72ab (diff)
downloadpdfium-7e7e0b8379c4bdcf3e16cd2298afe49f03fefdfb.tar.xz
Change in/out params in CBC_PDF417Writer::Encode to only out.
The value passed was always 0. This also prevented the scaling from being executed, so that can be removed. Change-Id: I143a9ed31b231d3b9fa297b0bf9dcc0fa6072889 Reviewed-on: https://pdfium-review.googlesource.com/40990 Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'fxbarcode/pdf417/BC_PDF417Writer.h')
-rw-r--r--fxbarcode/pdf417/BC_PDF417Writer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fxbarcode/pdf417/BC_PDF417Writer.h b/fxbarcode/pdf417/BC_PDF417Writer.h
index ef5961653e..1bb3a27d06 100644
--- a/fxbarcode/pdf417/BC_PDF417Writer.h
+++ b/fxbarcode/pdf417/BC_PDF417Writer.h
@@ -19,8 +19,8 @@ class CBC_PDF417Writer : public CBC_TwoDimWriter {
~CBC_PDF417Writer() override;
uint8_t* Encode(const WideString& contents,
- int32_t& outWidth,
- int32_t& outHeight);
+ int32_t* outWidth,
+ int32_t* outHeight);
// CBC_TwoDimWriter
bool SetErrorCorrectionLevel(int32_t level) override;