pdfprocessor: don't throw exception on encrypted files (locked ones are
the problem)
Šī revīzija ir iekļauta:
vecāks
ccb6818e72
revīzija
6bb53b8c31
@ -13,9 +13,9 @@ QVector<PageData> PdfProcessor::process(const QByteArray &data) const
|
||||
{
|
||||
throw QSSGeneralException("Failed to process pdf data");
|
||||
}
|
||||
if(doc->isEncrypted() || doc->isLocked())
|
||||
if(doc->isLocked())
|
||||
{
|
||||
throw QSSGeneralException("Doc is encrypted/locked");
|
||||
throw QSSGeneralException("Doc is locked");
|
||||
}
|
||||
|
||||
QRectF entirePage;
|
||||
|
Notiek ielāde…
Atsaukties uz šo jaunā problēmā
Block a user