diff options
author | Lei Zhang <thestig@chromium.org> | 2018-09-17 17:42:17 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-09-17 17:42:17 +0000 |
commit | 4473800c17b53bae6cf97345952f0a29cdde0907 (patch) | |
tree | ebd7882126deb7628b1b9e9d4d977476e36a9ed8 /fxbarcode/oned/BC_OnedCodaBarWriter.cpp | |
parent | 61ea984efbfccce24e489e2d7095891959103048 (diff) | |
download | pdfium-4473800c17b53bae6cf97345952f0a29cdde0907.tar.xz |
Initialize some 1D barcode classes in the header.
Change-Id: Iaeb7f43e442ace403f1522268e63b1a59f223a9d
Reviewed-on: https://pdfium-review.googlesource.com/42599
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fxbarcode/oned/BC_OnedCodaBarWriter.cpp')
-rw-r--r-- | fxbarcode/oned/BC_OnedCodaBarWriter.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fxbarcode/oned/BC_OnedCodaBarWriter.cpp b/fxbarcode/oned/BC_OnedCodaBarWriter.cpp index c51b1c2eb9..57e86a485b 100644 --- a/fxbarcode/oned/BC_OnedCodaBarWriter.cpp +++ b/fxbarcode/oned/BC_OnedCodaBarWriter.cpp @@ -49,10 +49,9 @@ const char kCOntentChars[] = {'0', '1', '2', '3', '4', '5', '6', '7', } // namespace -CBC_OnedCodaBarWriter::CBC_OnedCodaBarWriter() - : m_chStart('A'), m_chEnd('B'), m_iWideNarrRatio(2) {} +CBC_OnedCodaBarWriter::CBC_OnedCodaBarWriter() = default; -CBC_OnedCodaBarWriter::~CBC_OnedCodaBarWriter() {} +CBC_OnedCodaBarWriter::~CBC_OnedCodaBarWriter() = default; bool CBC_OnedCodaBarWriter::SetStartChar(char start) { if (!pdfium::ContainsValue(kStartEndChars, start)) |