summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2013-02-02 22:49:18 +0100
committerXisco Fauli <anistenis@gmail.com>2013-02-03 00:43:37 +0100
commitae4d40f3f0e13c3720667a6c6a143480d0136c52 (patch)
treec597049b97be3df27961dae840839bbfe3721ffb /wizards
parentacee06b28e2991cf4b3a8935b9a754902367fa1c (diff)
pyagenda: i have to redo this class so this method is unused now
Change-Id: Ief3461be5eeb6b952b76eeacf2778cb5beef6826
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/common/ConfigSet.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/wizards/com/sun/star/wizards/common/ConfigSet.py b/wizards/com/sun/star/wizards/common/ConfigSet.py
index aa02c6a80127..ba7ea690f688 100644
--- a/wizards/com/sun/star/wizards/common/ConfigSet.py
+++ b/wizards/com/sun/star/wizards/common/ConfigSet.py
@@ -32,30 +32,7 @@ class ConfigSet(ConfigGroup):
def __init__(self, topic):
self.topic = topic
- self.childrenMap = {}
self.childrenList = []
- self.noNulls = False
-
- def add2(self, name, o):
- self.childrenMap[name] = o
- if isinstance(name, int):
- i = name
- self.childrenList.insert(i, o)
- else:
- try:
- i = o.cp_Index
- oldSize = self.getSize()
- if oldSize <= i:
- newSize = i - oldSize
- self.childrenList += [None] * newSize
- self.noNulls = True
- else:
- self.noNulls = False
- self.childrenList.insert(i, o);
- if oldSize > i:
- oldSize = i
- except Exception:
- self.childrenList.append(o)
def add(self, name, o):
self.childrenList.append(o)