diff options
author | Xisco Fauli <anistenis@gmail.com> | 2013-11-20 23:53:35 +0100 |
---|---|---|
committer | Xisco Fauli <anistenis@gmail.com> | 2013-11-20 23:55:46 +0100 |
commit | d2bbcb539d3c67b305f274b204fa5dcc4f5d9020 (patch) | |
tree | fae5c3f2b4704522df9ea9c658613bd023f0447a /wizards | |
parent | 8594ff4e6b1a8ea16f4b11c91b2e3f3971073bf6 (diff) |
pyweb: remove unused code
Change-Id: I6141e314e04222544f8fe356d8cdfd3be1984840
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/web/data/CGGeneralInfo.py | 22 |
1 files changed, 0 insertions, 22 deletions
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 |