You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Lalith Ramesh <la...@gmail.com> on 2016/04/10 20:25:02 UTC

Fwd: AOO Design Patterns

If no one knows the answer to this question, that's OK.
I just wanted to add a descriptive comment to the code.

---------- Forwarded message ----------
From: Lalith Ramesh <la...@gmail.com>
Date: Sun, Mar 27, 2016 at 2:48 PM
Subject: AOO Design Patterns
To: dev@openoffice.apache.org


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?