mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 19:08:59 +00:00
Revert "Add QPDFObjectHandle operator bool"
This reverts commit 56c923d109
.
This commit breaks pikepdf.
This commit is contained in:
parent
a1f10e2442
commit
26606a37d3
@ -334,11 +334,6 @@ class QPDFObjectHandle
|
|||||||
QPDF_DLL
|
QPDF_DLL
|
||||||
inline bool isInitialized() const;
|
inline bool isInitialized() const;
|
||||||
|
|
||||||
// Return true if the QPDFObjectHandle is initialized. This allows object
|
|
||||||
// handles to be used in if statements with initializer.
|
|
||||||
QPDF_DLL
|
|
||||||
inline operator bool() const;
|
|
||||||
|
|
||||||
// This method returns true if the QPDFObjectHandle objects point
|
// This method returns true if the QPDFObjectHandle objects point
|
||||||
// to exactly the same underlying object, meaning that changes to
|
// to exactly the same underlying object, meaning that changes to
|
||||||
// one are reflected in the other, or "if you paint one, the other
|
// one are reflected in the other, or "if you paint one, the other
|
||||||
@ -1868,11 +1863,6 @@ QPDFObjectHandle::isIndirect() const
|
|||||||
return (obj != nullptr) && (getObjectID() != 0);
|
return (obj != nullptr) && (getObjectID() != 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline QPDFObjectHandle::operator bool() const
|
|
||||||
{
|
|
||||||
return obj != nullptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
inline bool
|
inline bool
|
||||||
QPDFObjectHandle::isInitialized() const
|
QPDFObjectHandle::isInitialized() const
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user