summaryrefslogtreecommitdiff
path: root/fxbarcode/qrcode/BC_QRCoder.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-04-06 14:23:26 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-04-06 23:30:04 +0000
commit8a24b25ee0b08128b28dfae0ee86b8348a51b40b (patch)
treea1dcaba3bddca1316bb9ba8fb9e2c0e0b1242301 /fxbarcode/qrcode/BC_QRCoder.h
parentc758d9dd3f94c2dee89e7fdd50195af08f7e456c (diff)
downloadpdfium-8a24b25ee0b08128b28dfae0ee86b8348a51b40b.tar.xz
Clean up CBC_QRCoderVersion and friends.
Change-Id: Iff738c99fb4fe38d35515c280057b489624d734f Reviewed-on: https://pdfium-review.googlesource.com/3752 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fxbarcode/qrcode/BC_QRCoder.h')
-rw-r--r--fxbarcode/qrcode/BC_QRCoder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fxbarcode/qrcode/BC_QRCoder.h b/fxbarcode/qrcode/BC_QRCoder.h
index 0925a8e5cd..adeae6c521 100644
--- a/fxbarcode/qrcode/BC_QRCoder.h
+++ b/fxbarcode/qrcode/BC_QRCoder.h
@@ -23,7 +23,7 @@ class CBC_QRCoder {
static bool IsValidMaskPattern(int32_t maskPattern);
CBC_QRCoderMode* GetMode() const;
- CBC_QRCoderErrorCorrectionLevel* GetECLevel() const;
+ const CBC_QRCoderErrorCorrectionLevel* GetECLevel() const;
int32_t GetVersion() const;
int32_t GetMatrixWidth() const;
int32_t GetMaskPattern() const;
@@ -37,7 +37,7 @@ class CBC_QRCoder {
bool IsValid();
void SetMode(CBC_QRCoderMode* value);
- void SetECLevel(CBC_QRCoderErrorCorrectionLevel* ecLevel);
+ void SetECLevel(const CBC_QRCoderErrorCorrectionLevel* ecLevel);
void SetVersion(int32_t version);
void SetMatrixWidth(int32_t width);
void SetMaskPattern(int32_t pattern);
@@ -49,7 +49,7 @@ class CBC_QRCoder {
private:
CBC_QRCoderMode* m_mode;
- CBC_QRCoderErrorCorrectionLevel* m_ecLevel;
+ const CBC_QRCoderErrorCorrectionLevel* m_ecLevel;
int32_t m_version;
int32_t m_matrixWidth;
int32_t m_maskPattern;