]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetRef.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetRef.h
index 5b91ceaa122fd62578089bf2f4015d1b4b489d48..2ee6e83c2d30b5a023cb0b71f01946cf5854f3ea 100644 (file)
@@ -63,8 +63,8 @@ protected:
        ///
        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;