This routine actually turns out to do nothing: The name gets read and set

in factory.cpp. Bye bye routine.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28366 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-02-05 22:01:12 +00:00
parent 765e190753
commit 0439d04f9b
2 changed files with 0 additions and 20 deletions

View File

@ -61,24 +61,6 @@ void InsetFlex::write(ostream & os) const
} }
void InsetFlex::read(Lexer & lex)
{
string token;
while (lex.isOK()) {
lex >> token;
if (token == "Flex") {
lex.next();
name_ = lex.getString();
} else if (token == "status") {
// This is handled in Collapsable
lex.pushToken(token);
break;
}
}
InsetCollapsable::read(lex);
}
int InsetFlex::plaintext(odocstream & os, OutputParams const & runparams) const int InsetFlex::plaintext(odocstream & os, OutputParams const & runparams) const
{ {
return InsetText::plaintext(os, runparams); return InsetText::plaintext(os, runparams);

View File

@ -33,8 +33,6 @@ public:
InsetCode lyxCode() const { return FLEX_CODE; } InsetCode lyxCode() const { return FLEX_CODE; }
/// ///
void write(std::ostream &) const; void write(std::ostream &) const;
///
void read(Lexer & lex);
/// ///
int plaintext(odocstream &, OutputParams const &) const; int plaintext(odocstream &, OutputParams const &) const;