]> git.lyx.org Git - features.git/commitdiff
move plaintext output of math macros where it belongs
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sat, 24 Feb 2007 18:00:13 +0000 (18:00 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sat, 24 Feb 2007 18:00:13 +0000 (18:00 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17327 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathDim.h
src/mathed/MathMacroTemplate.h

index 59773c031086f19e742ac189046bda4a6db2aa45..353e69d3ad1b813e6522a8fb2d66330a0b5a60c7 100644 (file)
@@ -37,12 +37,6 @@ public:
 
        ///
        void setPosCache(PainterInfo const & pi, int x, int y) const;
-       ///
-       int plaintext(Buffer const &, odocstream & os,
-                     OutputParams const &) const
-               { // FIXME: math macros are output here but
-                 // should be handled in InsetMathHull
-                 os << "[math macro]"; return 12; }
 };
 
 
index 4682df22e86fde854ab2cc5f44b6418a0080c916..cf46734618f290d0abce49e90add8e0cd82482c1 100644 (file)
@@ -44,6 +44,11 @@ public:
        void write(Buffer const &, std::ostream & os) const;
        ///
        void write(WriteStream & os) const;
+       ///
+       int plaintext(Buffer const &, odocstream & os,
+                       OutputParams const &) const
+       { os << "[math macro]"; return 12; }
+
        /// Number of arguments
        int numargs() const;
        ///