QPdf: remove two unused functions

Never called from anywhere.

Change-Id: I76480586b5eca6b450a6cd36429cdc6e264849cc
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
This commit is contained in:
Giuseppe D'Angelo 2024-03-22 17:30:29 +01:00
parent 73003f3b41
commit 4285f0dfa4
2 changed files with 0 additions and 11 deletions

View File

@ -270,13 +270,6 @@ namespace QPdf {
dev->open(QIODevice::ReadWrite | QIODevice::Truncate);
}
void ByteStream::constructor_helper(QByteArray *ba)
{
delete dev;
dev = new QBuffer(ba);
dev->open(QIODevice::ReadWrite);
}
void ByteStream::prepareBuffer()
{
Q_ASSERT(!dev->isSequential());

View File

@ -60,10 +60,6 @@ namespace QPdf {
static inline int maxMemorySize() { return 100000000; }
static inline int chunkSize() { return 10000000; }
protected:
void constructor_helper(QIODevice *dev);
void constructor_helper(QByteArray *ba);
private:
void prepareBuffer();