///
~InsetTOC();
///
- virtual Inset * clone() const {
- return new InsetTOC(params());
+ virtual std::auto_ptr<InsetBase> clone() const {
+ return std::auto_ptr<InsetBase>(new InsetTOC(params()));
}
///
dispatch_result localDispatch(FuncRequest const & cmd);
///
bool display() const { return true; }
///
- Inset::Code lyxCode() const;
+ InsetOld::Code lyxCode() const;
///
int ascii(Buffer const *, std::ostream &, int linelen) const;
///