diff options
author | Xisco Fauli <anistenis@gmail.com> | 2011-07-31 13:22:49 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-18 02:57:44 +0200 |
commit | 85a72b6eefa97748f7364982fa9e88cf029f4f26 (patch) | |
tree | 71b2520550ae3ea8ce88912d53e62a59d776142c /wizards | |
parent | 8ea57036431058cc83aa32dc9a9ce1e3555bc155 (diff) |
clean it up
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/agenda/AgendaTemplate.py | 2 | ||||
-rw-r--r-- | wizards/com/sun/star/wizards/ui/ControlScroller.py | 21 |
2 files changed, 1 insertions, 22 deletions
diff --git a/wizards/com/sun/star/wizards/agenda/AgendaTemplate.py b/wizards/com/sun/star/wizards/agenda/AgendaTemplate.py index fa9fbc78fb0d..e1b3d4bf31d4 100644 --- a/wizards/com/sun/star/wizards/agenda/AgendaTemplate.py +++ b/wizards/com/sun/star/wizards/agenda/AgendaTemplate.py @@ -789,7 +789,7 @@ class ItemsTable(object): while not cellName == cursor.RangeName and \ not cursor.RangeName.startswith("A"): - cell = xTextTable.getCellByName(cursor.RangeName) + cell = Topics.table.getCellByName(cursor.RangeName) cell.String = "" cellName = cursor.RangeName cursor.goRight(1, False) diff --git a/wizards/com/sun/star/wizards/ui/ControlScroller.py b/wizards/com/sun/star/wizards/ui/ControlScroller.py index e2f4596d9d24..ad3406e0a234 100644 --- a/wizards/com/sun/star/wizards/ui/ControlScroller.py +++ b/wizards/com/sun/star/wizards/ui/ControlScroller.py @@ -178,24 +178,6 @@ class ControlScroller(object): m += 1 n += 1 - def setLineIncrementation(self, _nlineincrement): - self.nlineincrement = _nlineincrement - Helper.setUnoPropertyValue( - ControlScroller.xScrollBar.Model, "LineIncrement", self.nlineincrement) - - def getLineIncrementation(self): - return self.nlineincrement - - def setBlockIncrementation(self, _nblockincrement): - ControlScroller.nblockincrement = _nblockincrement - Helper.setUnoPropertyValues( - ControlScroller.xScrollBar.Model, - (PropertyNames.PROPERTY_ENABLED, "BlockIncrement", - "ScrollValueMax"), - (self.ntotfieldcount > ControlScroller.nblockincrement, - ControlScroller.nblockincrement, - self.ntotfieldcount - ControlScroller.nblockincrement)) - def scrollControls(self): try: self.scrollRowsInfo() @@ -255,9 +237,6 @@ class ControlScroller(object): else: ControlScroller.scrollfields.insert(_currowproperties, _i) - def getControlGroupInfo(self, _i): - return ControlScroller.scrollfields.index(_i) - @classmethod def setControlData(self, controlname, newvalue): oControlModel = ControlScroller.CurUnoDialog.xUnoDialog.getControl( |