Issue #137: Redaction - Cannot convert '#000000' to color value

This commit is contained in:
Jakub Melka
2023-12-28 18:33:06 +01:00
parent 905a9e4a8b
commit e4875c4050
4 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,4 @@
// Copyright (C) 2020-2022 Jakub Melka
// Copyright (C) 2020-2023 Jakub Melka
//
// This file is part of PDF4QT.
//
@ -98,7 +98,7 @@ PDFDocument PDFRedact::perform(Options options)
const PDFRedactAnnotation* redactAnnotation = dynamic_cast<const PDFRedactAnnotation*>(annotation.get());
Q_ASSERT(redactAnnotation);
redactPath.addPath(redactAnnotation->getRedactionRegion().getPath());
redactPath = redactPath.united(redactAnnotation->getRedactionRegion().getPath());
}
QTransform matrix;