diff options
author | m-holger <m-holger@kubitscheck.org> | 2022-08-25 16:08:03 +0200 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2022-08-25 16:08:03 +0200 |
commit | 13ef50cd27f13687040da9342b398079567b7521 (patch) | |
tree | 11c36249b68409d0d55948c9c70ab430ac3af8db | |
parent | a318b203bea956dbe17c30f87c0a8a5293f027f2 (diff) | |
download | qpdf-13ef50cd27f13687040da9342b398079567b7521.tar.zst |
Avoid virtual method call in FileInputSource::read
-rw-r--r-- | libqpdf/FileInputSource.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |