[Libreoffice-commits] .: Branch 'feature/gsoc2011_wizards' - wizards/com
Xisco Fauli
xfauli at kemper.freedesktop.org
Sun Jul 31 04:23:33 PDT 2011
wizards/com/sun/star/wizards/agenda/AgendaTemplate.py | 2 -
wizards/com/sun/star/wizards/ui/ControlScroller.py | 21 ------------------
2 files changed, 1 insertion(+), 22 deletions(-)
New commits:
commit 0ce3da1e92cbb0714f70c9b999652e4f094b77d6
Author: Xisco Fauli <anistenis at gmail.com>
Date: Sun Jul 31 13:22:49 2011 +0200
clean it up
diff --git a/wizards/com/sun/star/wizards/agenda/AgendaTemplate.py b/wizards/com/sun/star/wizards/agenda/AgendaTemplate.py
index fa9fbc7..e1b3d4b 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 e2f4596..ad3406e 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(
More information about the Libreoffice-commits
mailing list