summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/Document.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-01-05 17:05:31 -0800
committerTom Sepez <tsepez@chromium.org>2016-01-05 17:05:31 -0800
commitc5b40ba5c4f993fa2445ad7db0c98de80aa43514 (patch)
tree59a6c44eea7200069ccf858bbef46ec67f3973fc /fpdfsdk/src/javascript/Document.cpp
parent45856be7b6658aaf7fe943d9e0f285811e98b6a7 (diff)
downloadpdfium-c5b40ba5c4f993fa2445ad7db0c98de80aa43514.tar.xz
Merge to XFA: Document::DoAnnotDelay and m_DelayAnnotData member unused.
Orignal Review URL: https://codereview.chromium.org/1565613002 . (cherry picked from commit 685c3130da63bd1eea1281f29bf1ee4f22f03129) R=thestig@chromium.org TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1562653002 .
Diffstat (limited to 'fpdfsdk/src/javascript/Document.cpp')
-rw-r--r--fpdfsdk/src/javascript/Document.cpp13
1 files changed, 0 insertions, 13 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);
}