]> 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 3d2e5c4a23f2679098093824d0e4ac3e6ee6d5c4..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;
        ///
@@ -61,10 +61,10 @@ protected:
        InsetRef(InsetRef const &);
 
        ///
-       virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
+       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;