]> git.lyx.org Git - features.git/commitdiff
This "#if 0" code is very old, and obsolete.
authorRichard Heck <rgheck@comcast.net>
Mon, 28 Mar 2011 22:34:41 +0000 (22:34 +0000)
committerRichard Heck <rgheck@comcast.net>
Mon, 28 Mar 2011 22:34:41 +0000 (22:34 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38110 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetCaption.cpp
src/insets/InsetCaption.h

index ed2120c171273a5ea00ab126b30583eb12f6fc44..e623d9d597585b1c635d135b2a24fbf63d535995 100644 (file)
@@ -73,18 +73,6 @@ docstring InsetCaption::layoutName() const
 }
 
 
-void InsetCaption::read(Lexer & lex)
-{
-#if 0
-       // We will enably this check again when the compability
-       // code is removed from Buffer::Read (Lgb)
-       lex.setContext("InsetCaption::Read: consistency check");
-       lex >> "Caption";
-#endif
-       InsetText::read(lex);
-}
-
-
 void InsetCaption::cursorPos(BufferView const & bv,
                CursorSlice const & sl, bool boundary, int & x, int & y) const
 {
index d0050913e1838701cda063c84f9a49c78713b7e3..dc28873fb109acd464d1789f6f7688a0f5ed2186 100644 (file)
@@ -38,8 +38,6 @@ private:
        ///
        void write(std::ostream & os) const;
        ///
-       void read(Lexer & lex);
-       ///
        DisplayType display() const { return AlignCenter; }
        ///
        bool neverIndent() const { return true; }