diff options
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/agenda/TopicsControl.py | 2 | ||||
-rw-r--r-- | wizards/com/sun/star/wizards/ui/ControlScroller.py | 13 |
2 files changed, 1 insertions, 14 deletions
diff --git a/wizards/com/sun/star/wizards/agenda/TopicsControl.py b/wizards/com/sun/star/wizards/agenda/TopicsControl.py index b5bb0820e75f..7ede309050bb 100644 --- a/wizards/com/sun/star/wizards/agenda/TopicsControl.py +++ b/wizards/com/sun/star/wizards/agenda/TopicsControl.py @@ -400,7 +400,7 @@ class TopicsControl(ControlScroller): because the last one is always empty... ''' while len(ControlScroller.scrollfields) > 1 \ - and isRowEmpty(len(ControlScroller.scrollfields) - 2): + and self.isRowEmpty(len(ControlScroller.scrollfields) - 2): removeLastRow() cr = self.ControlGroupVector[ ControlScroller.scrollfields.size - ControlScroller.nscrollvalue - 1] diff --git a/wizards/com/sun/star/wizards/ui/ControlScroller.py b/wizards/com/sun/star/wizards/ui/ControlScroller.py index 701e494ff056..0a55b55daf25 100644 --- a/wizards/com/sun/star/wizards/ui/ControlScroller.py +++ b/wizards/com/sun/star/wizards/ui/ControlScroller.py @@ -182,7 +182,6 @@ class ControlScroller(object): @classmethod def scrollControls(self): try: - self.scrollRowsInfo() ControlScroller.nscrollvalue = int(Helper.getUnoPropertyValue( ControlScroller.xScrollBar.Model, "ScrollValue")) if ControlScroller.nscrollvalue + ControlScroller.nblockincrement \ @@ -193,17 +192,6 @@ class ControlScroller(object): except Exception: traceback.print_exc() - @classmethod - def scrollRowsInfo(self): - if len(ControlScroller.scrollfields) > 0: - cols = len(ControlScroller.scrollfields[0]) - else: - cols = 0 - - for a in xrange(self.ncurfieldcount): - for n in xrange(cols): - self.fieldInfo(a, n) - ''' updates the corresponding data to the control in guiRow and column @@ -261,7 +249,6 @@ class ControlScroller(object): return None def getScrollFieldValues(self): - scrollRowsInfo() retproperties = [[ControlScroller.scrollfields.size()],[]] try: i = 0 |