summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/Document.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/Document.cpp')
-rw-r--r--fpdfsdk/javascript/Document.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/fpdfsdk/javascript/Document.cpp b/fpdfsdk/javascript/Document.cpp
index fbcd53f35a..536d654463 100644
--- a/fpdfsdk/javascript/Document.cpp
+++ b/fpdfsdk/javascript/Document.cpp
@@ -1265,7 +1265,6 @@ bool Document::icons(CJS_Runtime* pRuntime,
if (!pIcon)
return false;
- pIcon->SetStream(pIconElement->IconStream->GetStream());
pIcon->SetIconName(pIconElement->IconName);
Icons.SetElement(pRuntime, i++, CJS_Value(pRuntime, pJS_Icon));
}
@@ -1306,8 +1305,6 @@ bool Document::getIcon(CJS_Runtime* pRuntime,
return false;
pIcon->SetIconName(swIconName);
- pIcon->SetStream(pIconElement->IconStream->GetStream());
-
vRet = CJS_Value(pRuntime, pJS_Icon);
return true;
}