| Index: xfa/fxbarcode/pdf417/BC_PDF417BoundingBox.cpp
|
| diff --git a/xfa/fxbarcode/pdf417/BC_PDF417BoundingBox.cpp b/xfa/fxbarcode/pdf417/BC_PDF417BoundingBox.cpp
|
| index c8328ab1c6307fdedc1c999c8bcd6d86e2ba06a8..d2ad98e4089160cf56ef70151beeb8804e7b17ac 100644
|
| --- a/xfa/fxbarcode/pdf417/BC_PDF417BoundingBox.cpp
|
| +++ b/xfa/fxbarcode/pdf417/BC_PDF417BoundingBox.cpp
|
| @@ -42,20 +42,14 @@ CBC_BoundingBox::CBC_BoundingBox(CBC_BoundingBox* boundingBox) {
|
| init(boundingBox->m_image, boundingBox->m_topLeft, boundingBox->m_bottomLeft,
|
| boundingBox->m_topRight, boundingBox->m_bottomRight);
|
| }
|
| +
|
| CBC_BoundingBox::~CBC_BoundingBox() {
|
| - if (m_topLeft) {
|
| - delete m_topLeft;
|
| - }
|
| - if (m_bottomLeft) {
|
| - delete m_bottomLeft;
|
| - }
|
| - if (m_topRight) {
|
| - delete m_topRight;
|
| - }
|
| - if (m_bottomRight) {
|
| - delete m_bottomRight;
|
| - }
|
| + delete m_topLeft;
|
| + delete m_bottomLeft;
|
| + delete m_topRight;
|
| + delete m_bottomRight;
|
| }
|
| +
|
| CBC_BoundingBox* CBC_BoundingBox::merge(CBC_BoundingBox* leftBox,
|
| CBC_BoundingBox* rightBox,
|
| int32_t& e) {
|
|
|