]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathStream.h
Make undo action no-ops when the buffer is read-only
[lyx.git] / src / mathed / MathStream.h
index d55831de37ea58541ea28d5d1f88675b83df6d57..d6a35c5e89f64476e5fbffcf1fb4b83d11452854 100644 (file)
@@ -107,7 +107,7 @@ public:
        /// tell whether to use only ascii chars when producing latex code
        bool asciiOnly() const { return ascii_; }
        /// tell whether we are in a MathClass inset
-       void inMathClass(bool mathclass) { mathclass_ = mathclass; };
+       void inMathClass(bool mathclass) { mathclass_ = mathclass; }
        /// tell whether we are in a MathClass inset
        bool inMathClass() const { return mathclass_; }
        /// LaTeX encoding