aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/QPDFObject_private.hh
diff options
context:
space:
mode:
authorJay Berkenbilt <jberkenbilt@users.noreply.github.com>2023-06-17 15:26:16 +0200
committerGitHub <noreply@github.com>2023-06-17 15:26:16 +0200
commit44dce4e2988ec09e36dfb6d1fc527a143e6f597f (patch)
tree3cdb1999faeb5103eb87c36fb1673d8cbb5ab082 /libqpdf/qpdf/QPDFObject_private.hh
parentfc30e75122f6bef20ac8d676ac7cb8822feecf3e (diff)
parentacd0acf16931ce92bc908e4960c5a1e43d53b550 (diff)
downloadqpdf-44dce4e2988ec09e36dfb6d1fc527a143e6f597f.tar.zst
Merge pull request #978 from m-holger/reflow
Code tidy - reflow comments and strings
Diffstat (limited to 'libqpdf/qpdf/QPDFObject_private.hh')
-rw-r--r--libqpdf/qpdf/QPDFObject_private.hh14
1 files changed, 5 insertions, 9 deletions
diff --git a/libqpdf/qpdf/QPDFObject_private.hh b/libqpdf/qpdf/QPDFObject_private.hh
index bbd6ccf1..5e87c215 100644
--- a/libqpdf/qpdf/QPDFObject_private.hh
+++ b/libqpdf/qpdf/QPDFObject_private.hh
@@ -1,9 +1,8 @@
#ifndef QPDFOBJECT_HH
#define QPDFOBJECT_HH
-// NOTE: This file is called QPDFObject_private.hh instead of
-// QPDFObject.hh because of include/qpdf/QPDFObject.hh. See comments
-// there for an explanation.
+// NOTE: This file is called QPDFObject_private.hh instead of QPDFObject.hh because of
+// include/qpdf/QPDFObject.hh. See comments there for an explanation.
#include <qpdf/Constants.h>
#include <qpdf/DLL.h>
@@ -51,8 +50,7 @@ class QPDFObject
return value->type_code;
}
- // Return a string literal that describes the type, useful for
- // debugging and testing
+ // Return a string literal that describes the type, useful for debugging and testing
char const*
getTypeName() const
{
@@ -146,14 +144,12 @@ class QPDFObject
void
disconnect()
{
- // Disconnect an object from its owning QPDF. This is called
- // by QPDF's destructor.
+ // Disconnect an object from its owning QPDF. This is called by QPDF's destructor.
value->disconnect();
value->qpdf = nullptr;
value->og = QPDFObjGen();
}
- // Mark an object as destroyed. Used by QPDF's destructor for its
- // indirect objects.
+ // Mark an object as destroyed. Used by QPDF's destructor for its indirect objects.
void destroy();
bool