On Wed, Oct 22, 2003 at 11:22:52AM +0000, Angus Leeming wrote:
> Lars Gullik Bjønnes wrote:
> > | I'd much prefer
> > |         virtual bool InsetOld::display() const { return false; }
> > | and then
> > |         virtual bool InsetXYZ::display() const { return true; }
> > | only for those insets that do actually want it.
> > 
> > yes. _OR_ make dispaly a pure virutal function and only define it
> > for "leaf" classes.
> 
> As this was clearly upsetting me, I made the changes. The following 
> classes derive from InsetCommand and the starred ones now have
>         bool display() const { return true; }
> 
>         InsetBibitem
>         InsetBibtex (*)
>         InsetCitation
>         InsetFloatList (*)
>         InsetHFill
>         InsetIndex
>         InsetPrintIndex (*)
>         InsetLabel
>         InsetRef
>         InsetTOC (*)
>         InsetUrl

Very sensible.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one.     (T. Jefferson or B. Franklin or both...)

Reply via email to