]> git.lyx.org Git - features.git/commitdiff
This routine actually turns out to do nothing: The name gets read and set
authorRichard Heck <rgheck@comcast.net>
Thu, 5 Feb 2009 22:01:12 +0000 (22:01 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 5 Feb 2009 22:01:12 +0000 (22:01 +0000)
in factory.cpp. Bye bye routine.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28366 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetFlex.cpp
src/insets/InsetFlex.h

index 06e346a48355cd2ed2b7d30cf8d48c8420763d5f..3b34be760a9769675bfdcccc2cb89fdf8f5b8126 100644 (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
 {
        return InsetText::plaintext(os, runparams);
index c38cecff1054ab8a360ea508f9cb2020d42f6ab6..bdf59f0feded129b2a07cd0ac5a08747d0c1a797 100644 (file)
@@ -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;