Backport r28366-7, approved a long time ago and since held.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28809 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-03-15 21:26:14 +00:00
parent 5b185f8683
commit a540263da9
2 changed files with 0 additions and 28 deletions

View File

@ -61,30 +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);
}
int InsetFlex::docbook(odocstream & os, OutputParams const & runparams) const
{
ParagraphList::const_iterator beg = paragraphs().begin();

View File

@ -33,11 +33,7 @@ public:
InsetCode lyxCode() const { return FLEX_CODE; }
///
void write(std::ostream &) const;
///
void read(Lexer & lex);
///
int plaintext(odocstream &, OutputParams const &) const;
///
int docbook(odocstream &, OutputParams const &) const;
/// the string that is passed to the TOC