]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetRef.h
Forgot to restore this before committing 18494. This fixes bug 3725.
[lyx.git] / src / insets / InsetRef.h
index 381978c36d06b6dfe0be2059d6d6f6ca06ee9b6d..5b91ceaa122fd62578089bf2f4015d1b4b489d48 100644 (file)
@@ -45,7 +45,7 @@ public:
        ///
        Code lyxCode() const { return REF_CODE; }
        ///
-       bool display() const { return false; }
+       DisplayType display() const { return Inline; }
        ///
        int latex(Buffer const &, odocstream &, OutputParams const &) const;
        ///
@@ -63,8 +63,8 @@ protected:
        ///
        virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const {
-               return std::auto_ptr<InsetBase>(new InsetRef(*this));
+       virtual std::auto_ptr<Inset> doClone() const {
+               return std::auto_ptr<Inset>(new InsetRef(*this));
        }
        ///
        bool isLatex;