summaryrefslogtreecommitdiff
path: root/fxbarcode/pdf417/BC_PDF417Writer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxbarcode/pdf417/BC_PDF417Writer.cpp')
-rw-r--r--fxbarcode/pdf417/BC_PDF417Writer.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/fxbarcode/pdf417/BC_PDF417Writer.cpp b/fxbarcode/pdf417/BC_PDF417Writer.cpp
index 5cf9037601..129d59c393 100644
--- a/fxbarcode/pdf417/BC_PDF417Writer.cpp
+++ b/fxbarcode/pdf417/BC_PDF417Writer.cpp
@@ -35,9 +35,9 @@
CBC_PDF417Writer::CBC_PDF417Writer() {
m_bFixedSize = false;
}
-CBC_PDF417Writer::~CBC_PDF417Writer() {
- m_bTruncated = true;
-}
+
+CBC_PDF417Writer::~CBC_PDF417Writer() {}
+
bool CBC_PDF417Writer::SetErrorCorrectionLevel(int32_t level) {
if (level < 0 || level > 8) {
return false;
@@ -45,9 +45,6 @@ bool CBC_PDF417Writer::SetErrorCorrectionLevel(int32_t level) {
m_iCorrectLevel = level;
return true;
}
-void CBC_PDF417Writer::SetTruncated(bool truncated) {
- m_bTruncated = truncated;
-}
uint8_t* CBC_PDF417Writer::Encode(const WideString& contents,
int32_t* outWidth,