summaryrefslogtreecommitdiffstats
path: root/libqpdf/Pl_StdioFile.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <jberkenbilt@users.noreply.github.com>2023-05-21 18:41:01 +0200
committerGitHub <noreply@github.com>2023-05-21 18:41:01 +0200
commitbbe9f8b83c1e7d42f7e1f5b2ea613dc845a1de7c (patch)
tree89047a76039b7e98fcdd97eac0fa93081c201820 /libqpdf/Pl_StdioFile.cc
parent2028e35928ee8725128f52cae999ac6829dee2fc (diff)
parent49e6365f63f3ad09f04093d421caee04bc042c0d (diff)
downloadqpdf-bbe9f8b83c1e7d42f7e1f5b2ea613dc845a1de7c.tar.zst
Merge pull request #969 from m-holger/tidy
Code formating : drop 'this->' in 'this->m'
Diffstat (limited to 'libqpdf/Pl_StdioFile.cc')
-rw-r--r--libqpdf/Pl_StdioFile.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libqpdf/Pl_StdioFile.cc b/libqpdf/Pl_StdioFile.cc
index b83d0a9e..26dd7ace 100644
--- a/libqpdf/Pl_StdioFile.cc
+++ b/libqpdf/Pl_StdioFile.cc
@@ -28,7 +28,7 @@ Pl_StdioFile::write(unsigned char const* buf, size_t len)
{
size_t so_far = 0;
while (len > 0) {
- so_far = fwrite(buf, 1, len, this->m->file);
+ so_far = fwrite(buf, 1, len, m->file);
if (so_far == 0) {
QUtil::throw_system_error(
this->identifier + ": Pl_StdioFile::write");
@@ -42,7 +42,7 @@ Pl_StdioFile::write(unsigned char const* buf, size_t len)
void
Pl_StdioFile::finish()
{
- if ((fflush(this->m->file) == -1) && (errno == EBADF)) {
+ if ((fflush(m->file) == -1) && (errno == EBADF)) {
throw std::logic_error(
this->identifier + ": Pl_StdioFile::finish: stream already closed");
}