X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathGrid.h;h=7683ad6305a9a22d9cdf99a80cd7b9bc1a67b5b0;hb=12314897982e07afd8926c997f66d7bb08e7e1fd;hp=6d80ad6a4e4260cb3c540f978a69f2f67d224a68;hpb=aff3772b34af8bd770cbb1ae5610cdfa6a71e032;p=lyx.git diff --git a/src/mathed/InsetMathGrid.h b/src/mathed/InsetMathGrid.h index 6d80ad6a4e..7683ad6305 100644 --- a/src/mathed/InsetMathGrid.h +++ b/src/mathed/InsetMathGrid.h @@ -100,9 +100,7 @@ public: /// InsetMathGrid(col_type m, row_type n, char valign, docstring const & halign); /// - void metrics(MetricsInfo & mi) const; - /// - bool metrics(MetricsInfo & mi, Dimension &) const; + void metrics(MetricsInfo & mi, Dimension &) const; /// void draw(PainterInfo & pi, int x, int y) const; /// @@ -226,7 +224,7 @@ protected: bool getStatus(Cursor & cur, FuncRequest const & cmd, FuncStatus & flag) const; /// returns x offset of cell compared to inset - int cellXOffset(idx_type idx) const; + int cellXOffset(BufferView const &, idx_type idx) const; /// returns y offset of cell compared to inset int cellYOffset(idx_type idx) const; /// returns proper 'end of line' code for LaTeX @@ -250,7 +248,7 @@ protected: /// char v_align_; // add approp. type private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; };