summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wizards/com/sun/star/wizards/agenda/AgendaTemplate.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/wizards/com/sun/star/wizards/agenda/AgendaTemplate.py b/wizards/com/sun/star/wizards/agenda/AgendaTemplate.py
index 3dbcf63f752b..01db554616ff 100644
--- a/wizards/com/sun/star/wizards/agenda/AgendaTemplate.py
+++ b/wizards/com/sun/star/wizards/agenda/AgendaTemplate.py
@@ -294,7 +294,7 @@ class AgendaTemplate(TextDocument):
self.initializeItemsSections()
self.textSectionHandler = TextSectionHandler(
self.xTextDocument, self.xTextDocument)
- self.topics = Topics(self)
+ #self.topics = Topics(self)
'''
locates the titles (name, location, date, time)
@@ -400,9 +400,9 @@ class AgendaTemplate(TextDocument):
if d is None or d == "":
return ""
date = int(d)
- year = date / 10000
- month = (date % 10000) / 100
- day = date % 100
+ year = int(date / 10000)
+ month = int((date % 10000) / 100)
+ day = int(date % 100)
dateObject = dateTimeObject(year, month, day)
return AgendaTemplate.dateUtils.format(
AgendaTemplate.dateFormat, dateObject)