From c526e38a47a7fc7d83cc87aaf521d14bb7b7304d Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 27 Mar 2018 16:25:44 +0000 Subject: Remove unused CXFA_FFNotify method Change-Id: I2f7f152f229371704e1a9a5496908059a6e11c0e Reviewed-on: https://pdfium-review.googlesource.com/29251 Commit-Queue: dsinclair Reviewed-by: Henrique Nakashima --- xfa/fxfa/cxfa_ffnotify.cpp | 9 --------- xfa/fxfa/cxfa_ffnotify.h | 1 - 2 files changed, 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 #include -#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); -- cgit v1.2.3