Hello Martin,

XCellRange xCellRange = null;
for(int i=0; i<100000; i++) {
        if(xCellRange == null)
        xCellRange = (XCellRange)UnoRuntime.queryInterface(XCellRange.class, 
xTextTable);
      XCellRange newXCellRange = xCellRange.getCellRangeByPosition(1,1,2,2);
}

Regards

Andreas

> -----Original Message-----
> From: Martin Thoma [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 17, 2005 4:22 PM
> To: [email protected]
> Subject: RE: [api-dev] How stable is the Java API ?
> 
> 
> @Andreas:
> > we have made a simple test programm that uses the 
> XCellRange interface of
> > an XTextTable in order to return a cell range in a loop. 
> That is enough in
> > order to crash OpenOffice.org.
> Could you send me the code? I'll try it in C++.
> 
> @Jürgen
> > Maybe the explicit disposal of objects as required
> > by UNO has some shortcomings ...
> Where can I find the UNO-objects that need explicit disposal?
> 
> Martin
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to