[bug] b14 prv31: "OutOfBounds" Exception in Mainthread

While testing b14 prv31 I received three times an OutOfBounds Exception during 
editing with the keyboard. It occurs always at the same code position. 
Unfortunately I cannot reproduce it:


MainThread.FTParagraph.InsertObjects



...

? '-------------------------------------------------

? ' Insert the items.

? '-------------------------------------------------

? 

? ' Get the number of items to insert.

? count = Ubound(objects)

? 

? ' Insert all the items.

? for i = count downto 0

??? 

??? ' Insert and empty run item.

??? items.insert(index, objects(i))? 
'<<------------------------------------------------- OutOfBoundsException 
(Note: count is 0)

??? 

??? ' Insert an empty run item.

??? items.insert(index, new FTStyleRun(parentControl))

??? 

? next

? 

? '-------------------------------------------------

? ' Clean up.

? '-------------------------------------------------

? 
________________________________________________________________________
Bei AOL gibt's jetzt kostenlos eMail f?r alle.  Klicken Sie auf AOL.de um 
heraus zu finden, was es sonst noch kostenlos bei AOL gibt.

Other related posts: