trichview.com

trichview.support




Re: DeleteUnusedStyles


Return to index


Author

Message

Sergey Tkachenko

Posted: 01/14/2005 17:02:49


Hi,


DeleteUnusedStyles must not generate exception.

Is it possible to reproduce this problem so that I can see where the

exception occur?


Can you save document in RVF file before calling DeleteUnusedStyles, and, if

DeleteUnusedStyles causes an exception for this document, send this file to

me?


>

> Hi Sergey,

>

> I've recently upgraded to version 1.9.2.2 from 1.9.0.4.

>

> As part of my saving routine I call:

>

> rve.deleteunusedstyles(true,true,true);

>

> Since upgrading to 1.9.2.2 the deleteunusedstyles intermittently generates

> a 'list index out of bounds (129)' exception. It never did that before and

> nothing else in my application has changed.

>

> Can you think of any reason that an RVE can cause that error? Or has

anything

> in deleteunusedstyles changed? My application loads RVE's to/from a

database

> and it's usually only after the application switched RVE's a few times

(minimum

> of three) that the exception will occur.

>

> Thanks





Powered by ABC Amber Outlook Express Converter