diff options
Diffstat (limited to 'fpdfsdk/javascript/Document.h')
-rw-r--r-- | fpdfsdk/javascript/Document.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/fpdfsdk/javascript/Document.h b/fpdfsdk/javascript/Document.h index d7bf230346..a72316c3d1 100644 --- a/fpdfsdk/javascript/Document.h +++ b/fpdfsdk/javascript/Document.h @@ -18,7 +18,7 @@ class PrintParamsObj : public CJS_EmbedObj { public: - explicit PrintParamsObj(CJS_Object* pJSObject); + PrintParamsObj(CJS_Object* pJSObject); ~PrintParamsObj() override {} public: @@ -34,8 +34,7 @@ class PrintParamsObj : public CJS_EmbedObj { class CJS_PrintParamsObj : public CJS_Object { public: - explicit CJS_PrintParamsObj(v8::Local<v8::Object> pObject) - : CJS_Object(pObject) {} + CJS_PrintParamsObj(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {} ~CJS_PrintParamsObj() override {} DECLARE_JS_CLASS(); @@ -48,8 +47,8 @@ struct IconElement { IconElement(const CFX_WideString& name, Icon* stream) : IconName(name), IconStream(stream) {} - const CFX_WideString IconName; - Icon* const IconStream; + CFX_WideString IconName; + Icon* IconStream; }; struct CJS_DelayData; @@ -58,7 +57,7 @@ struct CJS_AnnotObj; class Document : public CJS_EmbedObj { public: - explicit Document(CJS_Object* pJSObject); + Document(CJS_Object* pJSObject); ~Document() override; FX_BOOL ADBE(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); @@ -292,7 +291,7 @@ class Document : public CJS_EmbedObj { CPDFSDK_FormFillEnvironment::ObservedPtr m_pFormFillEnv; CFX_WideString m_cwBaseURL; std::list<std::unique_ptr<CJS_DelayData>> m_DelayData; - std::vector<IconElement> m_Icons; + std::list<std::unique_ptr<IconElement>> m_IconList; bool m_bDelay; }; |