From 2777c336cb3adc5a1ac4166db094c659e9b738be Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Mon, 28 Mar 2011 22:34:41 +0000 Subject: [PATCH] This "#if 0" code is very old, and obsolete. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38110 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetCaption.cpp | 12 ------------ src/insets/InsetCaption.h | 2 -- 2 files changed, 14 deletions(-) diff --git a/src/insets/InsetCaption.cpp b/src/insets/InsetCaption.cpp index ed2120c171..e623d9d597 100644 --- a/src/insets/InsetCaption.cpp +++ b/src/insets/InsetCaption.cpp @@ -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 { diff --git a/src/insets/InsetCaption.h b/src/insets/InsetCaption.h index d0050913e1..dc28873fb1 100644 --- a/src/insets/InsetCaption.h +++ b/src/insets/InsetCaption.h @@ -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; }