mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 07:42:02 +00:00
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:
parent
765e190753
commit
0439d04f9b
@ -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
|
||||
{
|
||||
return InsetText::plaintext(os, runparams);
|
||||
|
@ -33,8 +33,6 @@ public:
|
||||
InsetCode lyxCode() const { return FLEX_CODE; }
|
||||
///
|
||||
void write(std::ostream &) const;
|
||||
///
|
||||
void read(Lexer & lex);
|
||||
|
||||
///
|
||||
int plaintext(odocstream &, OutputParams const &) const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user