SelectionInListView.st
changeset 5354 457cb908b288
parent 5317 36f70ec8280a
child 5356 876ca06a1df8
child 5373 a95a624e0ae9
--- a/SelectionInListView.st	Tue May 19 20:37:15 2015 +0200
+++ b/SelectionInListView.st	Wed May 20 12:28:24 2015 +0200
@@ -1272,9 +1272,7 @@
         listAttributes isNil ifTrue:[
             listAttributes := OrderedCollection newWithSize:index
         ] ifFalse:[
-            (index > listAttributes size) ifTrue:[
-                listAttributes grow:index
-            ]
+            listAttributes ensureSizeAtLeast:index.
         ].
         aSymbolOrCollectionOfSymbolsOrNil = (listAttributes at:index) ifFalse:[
             listAttributes at:index put:aSymbolOrCollectionOfSymbolsOrNil.
@@ -4192,11 +4190,11 @@
 !SelectionInListView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/SelectionInListView.st,v 1.285 2015-03-11 11:26:34 ca Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/SelectionInListView.st,v 1.286 2015-05-20 10:28:24 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libwidg/SelectionInListView.st,v 1.285 2015-03-11 11:26:34 ca Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/SelectionInListView.st,v 1.286 2015-05-20 10:28:24 cg Exp $'
 !
 
 version_HG