Angus Leeming wrote: > Yes. See the bottom of either LColor.h or lyxfont.h. Alternatively, > here's the prescription: > > class InsetOld_code { > InsetOld::Code val_; > public: > InsetOld_code(InsetOld::Code val) : val_(val) {} > operator InsetOld::Code() const{ return val_; } > };
Of course, this snippet should be added to inset.h -- Angus