[Libreoffice] sw: serial numbers

2011-11-23 Thread Michael Stahl
hi all, i am currently wondering: in sw, a bunch of classes define serial numbers, e.g. SwIndex, SwNode, etc. in a DBG_UTIL build, there is a global counter, and the ctor increments the counter and assigns its value to a member, so every instance has a unique serial. what is the point of this?

Re: [Libreoffice] sw: serial numbers

2011-11-23 Thread Stephan Bergmann
On 11/23/2011 11:16 AM, Michael Stahl wrote: in other words, any reason why i shouldn't remove serials? ...because you do not want to become a serial killer? ;) ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org

Re: [Libreoffice] sw: serial numbers

2011-11-23 Thread Lubos Lunak
On Wednesday 23 of November 2011, Michael Stahl wrote: hi all, i am currently wondering: in sw, a bunch of classes define serial numbers, e.g. SwIndex, SwNode, etc. in a DBG_UTIL build, there is a global counter, and the ctor increments the counter and assigns its value to a member, so