According to Matti Picus <[EMAIL PROTECTED]>: > Generating a unique int ID seems to be faulty in many places in AbiWord. > The general method is to use the result from UT_rand() and hope that it is > unique. I recently modified the RTF importer with a different method: > using a static member variable. > > I hope the construct is portable to all platforms.
I agree on the idea. I already have a "to be committed" change for header footer that use a similar idea (currently I use UT_rand(), but this is BAD). Hub
