Commit 13ef50cd27f13687040da9342b398079567b7521
1 parent
a318b203
Avoid virtual method call in FileInputSource::read
Showing
1 changed file
with
1 additions
and
1 deletions
libqpdf/FileInputSource.cc
| ... | ... | @@ -119,7 +119,7 @@ FileInputSource::rewind() |
| 119 | 119 | size_t |
| 120 | 120 | FileInputSource::read(char* buffer, size_t length) |
| 121 | 121 | { |
| 122 | - this->last_offset = this->tell(); | |
| 122 | + this->last_offset = QUtil::tell(this->file); | |
| 123 | 123 | size_t len = fread(buffer, 1, length, this->file); |
| 124 | 124 | if (len == 0) { |
| 125 | 125 | if (ferror(this->file)) { | ... | ... |