mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 14:29:21 +00:00
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:
parent
3f27f951cb
commit
2777c336cb
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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; }
|
||||||
|
Loading…
Reference in New Issue
Block a user