From 736bafbb9ca645fc8662d9d05f5a72a2e6185e75 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Tue, 26 Jun 2012 23:09:21 -0400 Subject: Rename seek functions in QUtil --- libqpdf/QPDF.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libqpdf/QPDF.cc') diff --git a/libqpdf/QPDF.cc b/libqpdf/QPDF.cc index 4849ae9b..1faf1519 100644 --- a/libqpdf/QPDF.cc +++ b/libqpdf/QPDF.cc @@ -149,7 +149,7 @@ QPDF::FileInputSource::getName() const qpdf_offset_t QPDF::FileInputSource::tell() { - return QUtil::ftell_off_t(this->file); + return QUtil::tell(this->file); } void @@ -158,7 +158,7 @@ QPDF::FileInputSource::seek(qpdf_offset_t offset, int whence) QUtil::os_wrapper(std::string("seek to ") + this->filename + ", offset " + QUtil::int_to_string(offset) + " (" + QUtil::int_to_string(whence) + ")", - QUtil::fseek_off_t(this->file, offset, whence)); + QUtil::seek(this->file, offset, whence)); } void @@ -170,7 +170,7 @@ QPDF::FileInputSource::rewind() size_t QPDF::FileInputSource::read(char* buffer, size_t length) { - this->last_offset = QUtil::ftell_off_t(this->file); + this->last_offset = QUtil::tell(this->file); size_t len = fread(buffer, 1, length, this->file); if ((len == 0) && ferror(this->file)) { -- cgit v1.2.3-70-g09d2