]> git.lyx.org Git - lyx.git/blobdiff - src/insets/RenderButton.h
Generalize the protection of brackets in citation arguments
[lyx.git] / src / insets / RenderButton.h
index 82a474e6c62e496d9499550d5f84766cb26a6ba2..5e6ad35a087374886b51b1a3a67e735bab66dc67 100644 (file)
@@ -25,10 +25,10 @@ class RenderButton : public RenderBase
 public:
        RenderButton();
 
-       std::auto_ptr<RenderBase> clone(Inset const *) const;
+       RenderBase * clone(Inset const *) const;
 
        /// compute the size of the object returned in dim
-       virtual bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       virtual void metrics(MetricsInfo & mi, Dimension & dim) const;
        /// draw inset and update (xo, yo)-cache
        virtual void draw(PainterInfo & pi, int x, int y) const;