fix spaces

This commit is contained in:
Elnur Ismailzada 2019-05-13 16:26:15 +02:00
parent 04e06fa229
commit a657058c47
1 changed files with 7 additions and 7 deletions

View File

@ -161,15 +161,15 @@ Ref<Result> UPCEANReader::decodeRow(int rowNumber,
Ref<Result> decodeResult (new Result(resultString, ArrayRef<zxing::byte>(), resultPoints, format)); Ref<Result> decodeResult (new Result(resultString, ArrayRef<zxing::byte>(), resultPoints, format));
try { try {
Ref<Result> extensionResult = extensionReader.decodeRow(rowNumber, row, endRange[1]); Ref<Result> extensionResult = extensionReader.decodeRow(rowNumber, row, endRange[1]);
if (extensionResult) { if (extensionResult) {
decodeResult->getMetadata().put(ResultMetadata::UPC_EAN_EXTENSION, extensionResult->getText()->getText()); decodeResult->getMetadata().put(ResultMetadata::UPC_EAN_EXTENSION, extensionResult->getText()->getText());
decodeResult->getMetadata().putAll(extensionResult->getMetadata()); decodeResult->getMetadata().putAll(extensionResult->getMetadata());
for (const Ref<ResultPoint>& resultPoint: extensionResult->getResultPoints()->values()) { for (const Ref<ResultPoint>& resultPoint: extensionResult->getResultPoints()->values()) {
decodeResult->getResultPoints()->push_back(resultPoint); decodeResult->getResultPoints()->push_back(resultPoint);
}
} }
}
} catch (NotFoundException const& /*nfe*/) { } catch (NotFoundException const& /*nfe*/) {
// continue // continue
} }