summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);