]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathMacro.h
Fix math mode for InsetMathMacro on output
[features.git] / src / mathed / InsetMathMacro.h
index 4267a2b1e02b2d9a0bb4ba8b2d495cb8356d5606..7880aa01aac570a6c621503668aa0d5c11de19e5 100644 (file)
@@ -84,7 +84,7 @@ public:
        ///
        mode_type currentMode() const;
 
-       ///
+       /// Assumes that macros are up-to-date
        void write(WriteStream & os) const;
        ///
        void normalize(NormalStream & os) const;
@@ -172,9 +172,6 @@ protected:
        void attachArguments(std::vector<MathData> const & args, size_t arity, int optionals);
 
 private:
-       /// Math mode for output and display. UNDECIDED for user macros: they could
-       /// be either.
-       mode_type modeToEnsure() const;
        /// This function is needed for now because of two shortfalls of the current
        /// implementation: the macro() pointer is often dangling, in which case we
        /// fall back to a backup copy, and the macro is not known at inset