///
~InsetUrl();
///
- virtual Inset * clone() const {
- return new InsetUrl(params());
+ virtual std::auto_ptr<InsetBase> clone() const {
+ return std::auto_ptr<InsetBase>(new InsetUrl(params()));
}
///
dispatch_result localDispatch(FuncRequest const & cmd);
///
- Inset::Code lyxCode() const { return Inset::URL_CODE; }
+ InsetOld::Code lyxCode() const { return InsetOld::URL_CODE; }
///
void validate(LaTeXFeatures &) const;
///