mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Soft memory leak bugfix
This commit is contained in:
@@ -45,6 +45,11 @@ QByteArray PDFObjectStorage::getDecodedStream(const PDFStream* stream) const
|
||||
return PDFStreamFilterStorage::getDecodedStream(stream, std::bind(QOverload<const PDFObject&>::of(&PDFObjectStorage::getObject), this, std::placeholders::_1), getSecurityHandler());
|
||||
}
|
||||
|
||||
PDFDocument::~PDFDocument()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bool PDFDocument::operator==(const PDFDocument& other) const
|
||||
{
|
||||
// Document is considered equal, if storage is equal
|
||||
|
@@ -391,6 +391,7 @@ class PDFFORQTLIBSHARED_EXPORT PDFDocument
|
||||
|
||||
public:
|
||||
explicit PDFDocument() = default;
|
||||
~PDFDocument();
|
||||
|
||||
bool operator==(const PDFDocument& other) const;
|
||||
bool operator!=(const PDFDocument& other) const { return !(*this == other); }
|
||||
|
Reference in New Issue
Block a user