On Tue, Jan 29, 2002 at 05:16:23PM +0100, Lars Gullik Bjønnes wrote: > > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | On Tue, Jan 29, 2002 at 04:53:40PM +0200, Martin Vermeer wrote: > >> + // Here we test if we have an inset in the label of a list > >> + // environment that really, really shouldn't be there. Like > >> + // graphics etc. But math, ERT, even footnote are OK. > >> + // These typically give latexing errors and are thus easy > >> + // to locate. > >> + if (env_label && new_warning && c == META_INSET) { > >> + Inset::Code thisinset = getInset(i)->lyxCode(); > >> + bool problem_inset = > >> + ( thisinset == >Inset::GRAPHICS_CODE > >> + || thisinset == >Inset::FLOAT_CODE > >> + || thisinset == >Inset::MARGIN_CODE > >> + || thisinset == >Inset::MINIPAGE_CODE); > > > | Why don't you use virtual functions for stuff like this? > > Feel free to create the giant patch when we begin 1.3cvs
...and feel free to explain what you mean... if this is clear to both of you, to me it is Chinese ;-) -- Martin
msg32161/pgp00000.pgp
Description: PGP signature