///
Code lyxCode() const { return REF_CODE; }
///
- bool display() const { return false; }
+ DisplayType display() const { return Inline; }
///
int latex(Buffer const &, odocstream &, OutputParams const &) const;
///
///
virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
private:
- virtual std::auto_ptr<Inset> doClone() const {
- return std::auto_ptr<Inset>(new InsetRef(*this));
+ virtual Inset * clone() const {
+ return new InsetRef(*this);
}
///
bool isLatex;