summaryrefslogtreecommitdiff
path: root/xfa/src/fxbarcode/qrcode/BC_FinderPatternInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fxbarcode/qrcode/BC_FinderPatternInfo.cpp')
-rw-r--r--xfa/src/fxbarcode/qrcode/BC_FinderPatternInfo.cpp29
1 files changed, 11 insertions, 18 deletions
diff --git a/xfa/src/fxbarcode/qrcode/BC_FinderPatternInfo.cpp b/xfa/src/fxbarcode/qrcode/BC_FinderPatternInfo.cpp
index b3c6f3f8a3..16e8a9accd 100644
--- a/xfa/src/fxbarcode/qrcode/BC_FinderPatternInfo.cpp
+++ b/xfa/src/fxbarcode/qrcode/BC_FinderPatternInfo.cpp
@@ -20,29 +20,22 @@
* limitations under the License.
*/
-
#include "../barcode.h"
#include "../BC_ResultPoint.h"
#include "BC_QRFinderPattern.h"
#include "BC_FinderPatternInfo.h"
-CBC_QRFinderPatternInfo::CBC_QRFinderPatternInfo(CFX_PtrArray *patternCenters)
-{
- m_bottomLeft = (CBC_QRFinderPattern*)(*patternCenters)[0];
- m_topLeft = (CBC_QRFinderPattern*)(*patternCenters)[1];
- m_topRight = (CBC_QRFinderPattern*)(*patternCenters)[2];
-}
-CBC_QRFinderPatternInfo::~CBC_QRFinderPatternInfo()
-{
+CBC_QRFinderPatternInfo::CBC_QRFinderPatternInfo(CFX_PtrArray* patternCenters) {
+ m_bottomLeft = (CBC_QRFinderPattern*)(*patternCenters)[0];
+ m_topLeft = (CBC_QRFinderPattern*)(*patternCenters)[1];
+ m_topRight = (CBC_QRFinderPattern*)(*patternCenters)[2];
}
-CBC_QRFinderPattern* CBC_QRFinderPatternInfo::GetBottomLeft()
-{
- return m_bottomLeft;
+CBC_QRFinderPatternInfo::~CBC_QRFinderPatternInfo() {}
+CBC_QRFinderPattern* CBC_QRFinderPatternInfo::GetBottomLeft() {
+ return m_bottomLeft;
}
-CBC_QRFinderPattern* CBC_QRFinderPatternInfo::GetTopLeft()
-{
- return m_topLeft;
+CBC_QRFinderPattern* CBC_QRFinderPatternInfo::GetTopLeft() {
+ return m_topLeft;
}
-CBC_QRFinderPattern* CBC_QRFinderPatternInfo::GetTopRight()
-{
- return m_topRight;
+CBC_QRFinderPattern* CBC_QRFinderPatternInfo::GetTopRight() {
+ return m_topRight;
}