]> git.lyx.org Git - features.git/commit
Add empty InsetLayout for undefined cases. Should avoid possible bugs caused by empty...
authorRichard Heck <rgheck@comcast.net>
Thu, 21 Feb 2008 16:31:59 +0000 (16:31 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 21 Feb 2008 16:31:59 +0000 (16:31 +0000)
commita51525c4162632d77884827909336ba7d88482e6
treebe5482cb8a396d689796138c4e4d92c8a1d1fc23
parentf9cb8309a333ae78a581e08973d79de97d6d0afb
Add empty InsetLayout for undefined cases. Should avoid possible bugs caused by empty layout_ pointer in InsetCollapsable.

NOTE: Some cleanup is needed here, and I'll do it shortly. Doing it properly, though, requires making InsetLayout a proper class. (At the moment, it's just a C-style struct.) That should be committed separately.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23103 a592a061-630c-0410-9148-cb99ea01b6c8
src/CutAndPaste.cpp
src/TextClass.cpp
src/TextClass.h
src/insets/InsetCollapsable.cpp
src/insets/InsetCollapsable.h
src/insets/InsetFlex.cpp
src/insets/InsetFlex.h
src/insets/InsetLayout.h