diff options
author | Xisco Fauli <anistenis@gmail.com> | 2011-07-31 22:10:27 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-18 02:57:44 +0200 |
commit | 1a77ddefae20680f69d9c4842eabc9bc8ab633d5 (patch) | |
tree | 5fd1a27c047be954ac7535d2c30dc51d0361731a /wizards | |
parent | b46e5dd918c010f56947144c82fd6dee5838ff16 (diff) |
Let's delete it for now
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 |