mirror of
				https://github.com/JakubMelka/PDF4QT.git
				synced 2025-06-05 21:59:17 +02:00 
			
		
		
		
	Some minor bugfixing
This commit is contained in:
		| @@ -272,9 +272,12 @@ PDFDocument PDFDocumentReader::readFromBuffer(const QByteArray& buffer) | ||||
|         }; | ||||
|  | ||||
|         // Now, we are ready to scan all objects | ||||
|         progressStart(occupiedEntries.size(), PDFTranslationContext::tr("Reading contents of document...")); | ||||
|         PDFExecutionPolicy::execute(PDFExecutionPolicy::Scope::Unknown, occupiedEntries.cbegin(), occupiedEntries.cend(), processEntry); | ||||
|         progressFinish(); | ||||
|         if (!occupiedEntries.empty()) | ||||
|         { | ||||
|             progressStart(occupiedEntries.size(), PDFTranslationContext::tr("Reading contents of document...")); | ||||
|             PDFExecutionPolicy::execute(PDFExecutionPolicy::Scope::Unknown, occupiedEntries.cbegin(), occupiedEntries.cend(), processEntry); | ||||
|             progressFinish(); | ||||
|         } | ||||
|  | ||||
|         if (m_result != Result::OK) | ||||
|         { | ||||
|   | ||||
| @@ -116,7 +116,7 @@ PDFSignature PDFSignature::parse(const PDFObjectStorage* storage, PDFObject obje | ||||
|             result.m_byteRanges.push_back(byteRange); | ||||
|         } | ||||
|  | ||||
|         result.m_references = loader.readObjectList<PDFSignatureReference>(dictionary->get("References")); | ||||
|         result.m_references = loader.readObjectList<PDFSignatureReference>(dictionary->get("Reference")); | ||||
|         std::vector<PDFInteger> changes = loader.readIntegerArrayFromDictionary(dictionary, "Changes"); | ||||
|  | ||||
|         if (changes.size() == 3) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user