| Index: core/include/fpdfdoc/fpdf_doc.h
|
| diff --git a/core/include/fpdfdoc/fpdf_doc.h b/core/include/fpdfdoc/fpdf_doc.h
|
| index a21063fedd42de1fc987ac1865ccbf19005a4105..5e3e11acabe2d97de878279f4648bc958026b124 100644
|
| --- a/core/include/fpdfdoc/fpdf_doc.h
|
| +++ b/core/include/fpdfdoc/fpdf_doc.h
|
| @@ -124,28 +124,19 @@ public:
|
| class CPDF_Dest : public CFX_Object
|
| {
|
| public:
|
| + CPDF_Dest() : m_pObj(nullptr) { }
|
| + explicit CPDF_Dest(CPDF_Object* pObj) : m_pObj(pObj) { }
|
|
|
| - CPDF_Dest(CPDF_Object* pObj = NULL)
|
| - {
|
| - m_pObj = pObj;
|
| - }
|
| -
|
| - operator CPDF_Object* () const
|
| - {
|
| - return m_pObj;
|
| - }
|
| + operator bool () const { return m_pObj != NULL; }
|
| + CPDF_Object* GetObject() const { return m_pObj; }
|
|
|
| CFX_ByteString GetRemoteName();
|
| -
|
| int GetPageIndex(CPDF_Document* pDoc);
|
| -
|
| FX_DWORD GetPageObjNum();
|
| -
|
| int GetZoomMode();
|
| -
|
| FX_FLOAT GetParam(int index);
|
|
|
| -
|
| +protected:
|
| CPDF_Object* m_pObj;
|
| };
|
| class CPDF_OCContext : public CFX_Object, public IPDF_OCContext
|
|
|