Hi all,

I can confirm that this C++-code produces crashes too:

Reference<XCellRange> rCellRange(rTextTable, UNO_QUERY);
for(int i = 0; i < 100000; i++)
{       Reference<XCellRange> rNewCellRange =
rCellRange->getCellRangeByPosition(1,1,2,2);
}
(Tested with OO1.1.4 on WindXP on a new Writers-Document with just 1
Text-Table).

Has somebody raised an issue or should I do it?

Martin

> -----Ursprüngliche Nachricht-----
> Von: Andreas Bröker [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 17. Juni 2005 16:55
> An: 'dev@api.openoffice.org'
> Betreff: RE: [api-dev] How stable is the Java API ?
>
>
> 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: dev@api.openoffice.org
> > 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]
>
>


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

Reply via email to