Kaydet (Commit) 66ec3084 authored tarafından Xisco Fauli's avatar Xisco Fauli

pyagenda: forgot a method

Change-Id: I0e6f1239ead11845b0fbad98354022c9ee021ea3
üst 4aeeebfe
...@@ -37,7 +37,6 @@ from com.sun.star.awt.VclWindowPeerAttribute import OK ...@@ -37,7 +37,6 @@ from com.sun.star.awt.VclWindowPeerAttribute import OK
class AgendaWizardDialogImpl(AgendaWizardDialog): class AgendaWizardDialogImpl(AgendaWizardDialog):
fileAccess1 = None
pageDesign = None pageDesign = None
def __init__(self, xmsf): def __init__(self, xmsf):
...@@ -314,23 +313,6 @@ class AgendaWizardDialogImpl(AgendaWizardDialog): ...@@ -314,23 +313,6 @@ class AgendaWizardDialogImpl(AgendaWizardDialog):
def chkUseResourcePersonsItemChanged(self): def chkUseResourcePersonsItemChanged(self):
AgendaTemplate.redraw(self.templateConsts.FILLIN_RESOURCE_PERSONS) AgendaTemplate.redraw(self.templateConsts.FILLIN_RESOURCE_PERSONS)
'''
convenience method.
instead of creating a FileAccess object every time
it is needed, I have a FileAccess object memeber.
the first time it is needed it will be created, and
then be reused...
@return the FileAccess memeber object.
'''
def getFileAccess(self):
if AgendaWizardDialogImpl.fileAccess1 is None:
try:
AgendaWizardDialogImpl.fileAccess1 = FileAccess(self.xMSF)
except Exception, e:
traceback.print_exc()
return AgendaWizardDialogImpl.fileAccess1
def insertRow(self): def insertRow(self):
self.topicsControl.insertRow() self.topicsControl.insertRow()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment