From d2bbcb539d3c67b305f274b204fa5dcc4f5d9020 Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Wed, 20 Nov 2013 23:53:35 +0100 Subject: pyweb: remove unused code Change-Id: I6141e314e04222544f8fe356d8cdfd3be1984840 --- .../com/sun/star/wizards/web/data/CGGeneralInfo.py | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'wizards/com/sun/star') diff --git a/wizards/com/sun/star/wizards/web/data/CGGeneralInfo.py b/wizards/com/sun/star/wizards/web/data/CGGeneralInfo.py index 4fcbd60b9d00..e814ec41b7d6 100644 --- a/wizards/com/sun/star/wizards/web/data/CGGeneralInfo.py +++ b/wizards/com/sun/star/wizards/web/data/CGGeneralInfo.py @@ -37,25 +37,3 @@ class CGGeneralInfo(ConfigGroup): [self.cp_Title, self.cp_Author, self.cp_Description, str(self.cp_CreationDate), str(self.cp_UpdateDate), self.cp_Email, self.cp_Copyright]) - - def getCreationDate(self): - if self.cp_CreationDate == 0: - self.cp_CreationDate = currentDate() - - return self.cp_CreationDate - - def getUpdateDate(self): - if self.cp_UpdateDate == 0: - self.cp_UpdateDate = currentDate() - - return self.cp_UpdateDate - - def setCreationDate(self, i): - self.cp_CreationDate = i.intValue() - - def setUpdateDate(self, i): - self.cp_UpdateDate = i.intValue() - - def currentDate(self): - dt = JavaTools.getDateTime(System.currentTimeMillis()) - return dt.Day + dt.Month * 100 + dt.Year * 10000 -- cgit v1.2.3