]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathGrid.h
Make undo action no-ops when the buffer is read-only
[lyx.git] / src / mathed / InsetMathGrid.h
index dd61efd71ac8fca4df4a6f557d5e7f8cd8befa2c..ce8a8524011c44b60d614589bc2d8caf93b5c40f 100644 (file)
@@ -94,7 +94,7 @@ public:
        InsetMathGrid(Buffer * buf, col_type m, row_type n, char valign,
                docstring const & halign);
        ///
-       marker_type marker(BufferView const *) const override { return marker_type::MARKER2; };
+       marker_type marker(BufferView const *) const override { return marker_type::MARKER2; }
        ///
        void metrics(MetricsInfo & mi, Dimension &) const override;
        ///
@@ -208,17 +208,17 @@ public:
        virtual bool handlesMulticolumn() const { return false; }
 
        ///
-       void write(WriteStream & os) const override;
+       void write(TeXMathStream & os) const override;
        ///
-       void write(WriteStream & os,
-                  row_type beg_row, col_type beg_col,
-                  row_type end_row, col_type end_col) const;
+       void write(TeXMathStream & os,
+                  row_type beg_row, col_type beg_col,
+                  row_type end_row, col_type end_col) const;
        ///
        void normalize(NormalStream &) const override;
        ///
        //void maple(MapleStream &) const override;
        ///
-       void mathmlize(MathStream &) const override;
+       void mathmlize(MathMLStream &) const override;
        ///
        void htmlize(HtmlStream &) const override;
        ///