summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/src/javascript')
-rw-r--r--fpdfsdk/src/javascript/Document.cpp13
-rw-r--r--fpdfsdk/src/javascript/Document.h3
2 files changed, 0 insertions, 16 deletions
diff --git a/fpdfsdk/src/javascript/Document.cpp b/fpdfsdk/src/javascript/Document.cpp
index 0a85cece89..9a434a5db7 100644
--- a/fpdfsdk/src/javascript/Document.cpp
+++ b/fpdfsdk/src/javascript/Document.cpp
@@ -159,7 +159,6 @@ Document::~Document() {
}
m_DelayData.RemoveAll();
- m_DelayAnnotData.RemoveAll();
}
// the total number of fileds in document.
@@ -1700,18 +1699,6 @@ void Document::DoFieldDelay(const CFX_WideString& sFieldName,
}
}
-void Document::AddDelayAnnotData(CJS_AnnotObj* pData) {
- m_DelayAnnotData.Add(pData);
-}
-
-void Document::DoAnnotDelay() {
- CFX_DWordArray DelArray;
-
- for (int j = DelArray.GetSize() - 1; j >= 0; j--) {
- m_DelayData.RemoveAt(DelArray[j]);
- }
-}
-
CJS_Document* Document::GetCJSDoc() const {
return static_cast<CJS_Document*>(m_pJSObject);
}
diff --git a/fpdfsdk/src/javascript/Document.h b/fpdfsdk/src/javascript/Document.h
index 350ab05682..94860fc425 100644
--- a/fpdfsdk/src/javascript/Document.h
+++ b/fpdfsdk/src/javascript/Document.h
@@ -267,8 +267,6 @@ class Document : public CJS_EmbedObj {
CFX_ByteString& strFolderName);
void AddDelayData(CJS_DelayData* pData);
void DoFieldDelay(const CFX_WideString& sFieldName, int nControlIndex);
- void AddDelayAnnotData(CJS_AnnotObj* pData);
- void DoAnnotDelay();
void SetIsolate(v8::Isolate* isolate) { m_isolate = isolate; }
CJS_Document* GetCJSDoc() const;
@@ -285,7 +283,6 @@ class Document : public CJS_EmbedObj {
CFX_WideString m_cwBaseURL;
bool m_bDelay;
CFX_ArrayTemplate<CJS_DelayData*> m_DelayData;
- CFX_ArrayTemplate<CJS_AnnotObj*> m_DelayAnnotData;
};
class CJS_Document : public CJS_Object {