openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damjan Jovanovic <>
Subject Re: AOO Design Patterns
Date Sun, 10 Apr 2016 18:47:47 GMT
Hi Lalith

It looks like SbxErrObject is a singleton: if you read errobject.cxx,
you see that SbxErrObject::getErrObject() returns a single static

Why are you reading the main/basic code by the way? Would you like to
contribute a patch?


On Sun, Mar 27, 2016 at 8:48 PM, Lalith Ramesh
<> 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:
For additional commands, e-mail:

View raw message