summaryrefslogtreecommitdiff
path: root/xfa/fxfa
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-03-27 16:25:44 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-03-27 16:25:44 +0000
commitc526e38a47a7fc7d83cc87aaf521d14bb7b7304d (patch)
treeb24b9682131d8b3f28e1d2ef061bde7c316be7aa /xfa/fxfa
parent68df02a489d8f676f1752a1918c5888c63f366f3 (diff)
downloadpdfium-c526e38a47a7fc7d83cc87aaf521d14bb7b7304d.tar.xz
Remove unused CXFA_FFNotify method
Change-Id: I2f7f152f229371704e1a9a5496908059a6e11c0e Reviewed-on: https://pdfium-review.googlesource.com/29251 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'xfa/fxfa')
-rw-r--r--xfa/fxfa/cxfa_ffnotify.cpp9
-rw-r--r--xfa/fxfa/cxfa_ffnotify.h1
2 files changed, 0 insertions, 10 deletions
diff --git a/xfa/fxfa/cxfa_ffnotify.cpp b/xfa/fxfa/cxfa_ffnotify.cpp
index d0d7db860c..187d1a4ced 100644
--- a/xfa/fxfa/cxfa_ffnotify.cpp
+++ b/xfa/fxfa/cxfa_ffnotify.cpp
@@ -9,7 +9,6 @@
#include <memory>
#include <utility>
-#include "core/fxcrt/cfx_datetime.h"
#include "xfa/fxfa/cxfa_ffapp.h"
#include "xfa/fxfa/cxfa_ffarc.h"
#include "xfa/fxfa/cxfa_ffbarcode.h"
@@ -266,14 +265,6 @@ void CXFA_FFNotify::OpenDropDownList(CXFA_FFWidget* hWidget) {
pDocView->UpdateDocView();
}
-WideString CXFA_FFNotify::GetCurrentDateTime() {
- CFX_DateTime dataTime = CFX_DateTime::Now();
- return WideString::Format(L"%d%02d%02dT%02d%02d%02d", dataTime.GetYear(),
- dataTime.GetMonth(), dataTime.GetDay(),
- dataTime.GetHour(), dataTime.GetMinute(),
- dataTime.GetSecond());
-}
-
void CXFA_FFNotify::ResetData(CXFA_Node* pNode) {
CXFA_FFDocView* pDocView = m_pDoc->GetDocView();
if (!pDocView)
diff --git a/xfa/fxfa/cxfa_ffnotify.h b/xfa/fxfa/cxfa_ffnotify.h
index 0fa474c5ef..f3f9093cbc 100644
--- a/xfa/fxfa/cxfa_ffnotify.h
+++ b/xfa/fxfa/cxfa_ffnotify.h
@@ -64,7 +64,6 @@ class CXFA_FFNotify {
CXFA_FFWidgetHandler* GetWidgetHandler();
CXFA_FFWidget* GetHWidget(CXFA_LayoutItem* pLayoutItem);
void OpenDropDownList(CXFA_FFWidget* hWidget);
- WideString GetCurrentDateTime();
void ResetData(CXFA_Node* pNode);
int32_t GetLayoutStatus();
void RunNodeInitialize(CXFA_Node* pNode);