Bugfix: DocDiff crash

This commit is contained in:
Jakub Melka 2021-10-29 11:39:14 +02:00
parent f99c7970f2
commit cb6cb58d68
1 changed files with 1 additions and 1 deletions

View File

@ -522,7 +522,7 @@ void PDFDiff::performCompare(const std::vector<PDFDiffPageContext>& leftPrepared
for (auto it = range.first; it != range.second; ++it)
{
const AlgorithmLCS::SequenceItem& item = *it;
if (item.isReplaced())
if (item.isReplaced() && item.isMatch())
{
const PDFDiffPageContext& leftPageContext = leftPreparedPages[item.index1];
const PDFDiffPageContext& rightPageContext = rightPreparedPages[item.index2];