]> git.lyx.org Git - features.git/commit
First step of InsetLayout cleanup.
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 13 Jul 2009 00:28:22 +0000 (00:28 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 13 Jul 2009 00:28:22 +0000 (00:28 +0000)
commit081fad95573a0cb2fb55e6230c8703534cb00da6
treed37794514a47a05dfe2967fd4df84bc432105b4f
parentda8b7a62d4855814a764ca40f4cccc6a9bae6d80
First step of InsetLayout cleanup.

Get rid of Inset::getLayout(BufferParams), since all insets have access to
their own buffer. Inset::getLayout() does the same now.

Get rid of InsetCollapsable::getLayout(BufferParams) too, and remove most references to InsetCollapsable::layout_. For now IC::getLayout() still returns layout_, but the idea is to change this (provided there is no performance problem).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30530 a592a061-630c-0410-9148-cb99ea01b6c8
src/Text3.cpp
src/insets/Inset.cpp
src/insets/Inset.h
src/insets/InsetCollapsable.cpp
src/insets/InsetCollapsable.h
src/insets/InsetFoot.cpp