Hi Lalith It looks like SbxErrObject is a singleton: if you read errobject.cxx, you see that SbxErrObject::getErrObject() returns a single static instance.
Why are you reading the main/basic code by the way? Would you like to contribute a patch? Damjan On Sun, Mar 27, 2016 at 8:48 PM, Lalith Ramesh <lalithramesh...@gmail.com> wrote: > Dev List, > > I was browsing through the code on Fisheye, and I noticed some interesting > design patterns that were in use. > For example, errobject.hxx has a public factory method to make new > ErrObjects, but the constructors are not marked as public. > What was the motivation behind this design decision? --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org