Andre Poenitz <[EMAIL PROTECTED]> writes:
| On Tue, Oct 01, 2002 at 06:04:33PM +0100, Angus Leeming wrote:
| > I know that is semantics only, but is this not more transparent:
| >
| > void MathArrayInset::metrics(MathMetricsInfo & mi) const
| > {
| > + if (mi.base.style == LM_ST_DISPLAY)
| > + MathStyleChanger(mi.base, LM_ST_TEXT);
| > + MathGridInset::metrics(mi);
| > }
|
| With the tiny problem that it does not work. The Changer undoes its changes
| when it goes out of scope.
What dind of black magic is that? Ok I see what you do...
Somehow it is a bit too clever for my taste...
--
Lgb