diff options
Diffstat (limited to 'fpdfsdk/javascript/Icon.cpp')
-rw-r--r-- | fpdfsdk/javascript/Icon.cpp | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/fpdfsdk/javascript/Icon.cpp b/fpdfsdk/javascript/Icon.cpp index 72d91faa76..fa2f92f3c9 100644 --- a/fpdfsdk/javascript/Icon.cpp +++ b/fpdfsdk/javascript/Icon.cpp @@ -21,27 +21,10 @@ JSMethodSpec CJS_Icon::MethodSpecs[] = {{0, 0}}; IMPLEMENT_JS_CLASS(CJS_Icon, Icon) Icon::Icon(CJS_Object* pJSObject) - : CJS_EmbedObj(pJSObject), m_pIconStream(nullptr), m_swIconName(L"") {} + : CJS_EmbedObj(pJSObject), m_swIconName(L"") {} Icon::~Icon() {} -void Icon::SetStream(CPDF_Stream* pIconStream) { - if (pIconStream) - m_pIconStream = pIconStream; -} - -CPDF_Stream* Icon::GetStream() { - return m_pIconStream; -} - -void Icon::SetIconName(CFX_WideString name) { - m_swIconName = name; -} - -CFX_WideString Icon::GetIconName() { - return m_swIconName; -} - bool Icon::name(CJS_Runtime* pRuntime, CJS_PropValue& vp, CFX_WideString& sError) { |