]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_unknowninset.h
small up/down tweaking
[lyx.git] / src / mathed / math_unknowninset.h
index 1b65a80d53ed4746905b8a4fd0330332f4f096dc..1e6c2d6822090d00631f8de408dee1f98c6d3478 100644 (file)
@@ -23,7 +23,7 @@ public:
        ///
        void draw(MathPainterInfo & pi, int x, int y) const;
        ///
-       void setName(string const & name) const;
+       void setName(string const & name);
        ///
        string name() const;
        /// identifies UnknownInsets
@@ -31,7 +31,7 @@ public:
        /// identifies UnknownInsets
        MathUnknownInset * asUnknownInset() { return this; }
        ///
-       bool match(MathInset const * p) const;
+       bool match(MathAtom const & at) const;
 
        ///
        void normalize(NormalStream &) const;
@@ -44,14 +44,14 @@ public:
        ///
        void octavize(OctaveStream &) const;
        ///
-       void finalize() const;
+       void finalize();
        ///
        bool final() const;
 private:
        ///
-       mutable string name_;
+       string name_;
        /// are we finished creating the name?
-       mutable bool final_;
+       bool final_;
        ///
        bool black_;
 };