diff options
Diffstat (limited to 'fxbarcode/cbc_qrcode.cpp')
-rw-r--r-- | fxbarcode/cbc_qrcode.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fxbarcode/cbc_qrcode.cpp b/fxbarcode/cbc_qrcode.cpp index 0f3a65ef3a..a5679a0943 100644 --- a/fxbarcode/cbc_qrcode.cpp +++ b/fxbarcode/cbc_qrcode.cpp @@ -31,12 +31,6 @@ CBC_QRCode::CBC_QRCode() CBC_QRCode::~CBC_QRCode() {} -bool CBC_QRCode::SetErrorCorrectionLevel(int32_t level) { - if (level < 0 || level > 3) - return false; - return GetQRCodeWriter()->SetErrorCorrectionLevel(level); -} - bool CBC_QRCode::Encode(const WideStringView& contents) { int32_t outWidth = 0; int32_t outHeight = 0; |