From 13ef50cd27f13687040da9342b398079567b7521 Mon Sep 17 00:00:00 2001 From: m-holger Date: Thu, 25 Aug 2022 15:08:03 +0100 Subject: Avoid virtual method call in FileInputSource::read --- libqpdf/FileInputSource.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libqpdf/FileInputSource.cc b/libqpdf/FileInputSource.cc index 2c610801..2b1ee1ab 100644 --- a/libqpdf/FileInputSource.cc +++ b/libqpdf/FileInputSource.cc @@ -119,7 +119,7 @@ FileInputSource::rewind() size_t FileInputSource::read(char* buffer, size_t length) { - this->last_offset = this->tell(); + this->last_offset = QUtil::tell(this->file); size_t len = fread(buffer, 1, length, this->file); if (len == 0) { if (ferror(this->file)) { -- cgit v1.2.3-54-g00ecf