]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetListings.h
* src/paragraph_funcs.cpp (breakParagraph): change parameter 'flag' to
[lyx.git] / src / insets / InsetListings.h
index 8fb21957d0f26323cec47c860460144f13a6c3ed..9f39653a6360710262900441c1f1200e58fbbaff 100644 (file)
@@ -49,7 +49,7 @@ public:
        ///
        void validate(LaTeXFeatures &) const;
        ///
-       bool metrics(MetricsInfo &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -67,7 +67,7 @@ protected:
        ///
        bool getStatus(Cursor & cur, FuncRequest const & cmd, FuncStatus &) const;
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
        ///
        void init();
        ///