mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
remove unused ByteStream::constructor_helper() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
19ab51ec39
commit
75610f8219
2 changed files with 0 additions and 11 deletions
|
@ -211,13 +211,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());
|
||||
|
|
|
@ -81,10 +81,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();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue