From 2de83b4598b001deca6d80a8df80c54fe52f8ab0 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Sat, 24 Feb 2007 18:00:13 +0000 Subject: [PATCH] move plaintext output of math macros where it belongs git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17327 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathDim.h | 6 ------ src/mathed/MathMacroTemplate.h | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/mathed/InsetMathDim.h b/src/mathed/InsetMathDim.h index 59773c0310..353e69d3ad 100644 --- a/src/mathed/InsetMathDim.h +++ b/src/mathed/InsetMathDim.h @@ -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; } }; diff --git a/src/mathed/MathMacroTemplate.h b/src/mathed/MathMacroTemplate.h index 4682df22e8..cf46734618 100644 --- a/src/mathed/MathMacroTemplate.h +++ b/src/mathed/MathMacroTemplate.h @@ -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; /// -- 2.39.2