summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2011-07-31 22:10:27 +0200
committerXisco Fauli <anistenis@gmail.com>2011-07-31 22:10:27 +0200
commit1d2424fabb44a065a1108f14f7700afc2ad6d5b1 (patch)
tree97d38f51bb23713ee1dbd170e75555f6bce55a8e
parentaef935704ac12f8e52b7b5f155cf9a90c29b295a (diff)
Let's delete it for now
-rw-r--r--wizards/com/sun/star/wizards/agenda/TopicsControl.py2
-rw-r--r--wizards/com/sun/star/wizards/ui/ControlScroller.py13
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 b5bb0820e..7ede30905 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 701e494ff..0a55b55da 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