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
This commit is contained in:
Richard Heck 2011-03-28 22:34:41 +00:00
parent 3f27f951cb
commit 2777c336cb
2 changed files with 0 additions and 14 deletions

View 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, void InsetCaption::cursorPos(BufferView const & bv,
CursorSlice const & sl, bool boundary, int & x, int & y) const CursorSlice const & sl, bool boundary, int & x, int & y) const
{ {

View File

@ -38,8 +38,6 @@ private:
/// ///
void write(std::ostream & os) const; void write(std::ostream & os) const;
/// ///
void read(Lexer & lex);
///
DisplayType display() const { return AlignCenter; } DisplayType display() const { return AlignCenter; }
/// ///
bool neverIndent() const { return true; } bool neverIndent() const { return true; }