mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Bugfix: DocDiff crash
This commit is contained in:
@ -522,7 +522,7 @@ void PDFDiff::performCompare(const std::vector<PDFDiffPageContext>& leftPrepared
|
|||||||
for (auto it = range.first; it != range.second; ++it)
|
for (auto it = range.first; it != range.second; ++it)
|
||||||
{
|
{
|
||||||
const AlgorithmLCS::SequenceItem& item = *it;
|
const AlgorithmLCS::SequenceItem& item = *it;
|
||||||
if (item.isReplaced())
|
if (item.isReplaced() && item.isMatch())
|
||||||
{
|
{
|
||||||
const PDFDiffPageContext& leftPageContext = leftPreparedPages[item.index1];
|
const PDFDiffPageContext& leftPageContext = leftPreparedPages[item.index1];
|
||||||
const PDFDiffPageContext& rightPageContext = rightPreparedPages[item.index2];
|
const PDFDiffPageContext& rightPageContext = rightPreparedPages[item.index2];
|
||||||
|
Reference in New Issue
Block a user