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
This commit is contained in:
Georg Baum 2007-02-24 18:00:13 +00:00
parent 5576b516c4
commit 2de83b4598
2 changed files with 5 additions and 6 deletions

View 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; }
};

View 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;
///