]> git.lyx.org Git - features.git/commit
* Do not keep pointers to data structures around if you don't know
authorStefan Schimanski <sts@lyx.org>
Tue, 5 Feb 2008 10:34:01 +0000 (10:34 +0000)
committerStefan Schimanski <sts@lyx.org>
Tue, 5 Feb 2008 10:34:01 +0000 (10:34 +0000)
commit2f1699747a9b100700e24932b3ec98ced6252f41
treec62ce8279153c8f3146cd61ba174b2dc16b940ae
parent790411d17471954bc680f0e2f6f5832f3fdb5261
* Do not keep pointers to data structures around if you don't know
  whether the data structure outlives the pointer:

  InsetLayouts are really owned by the corresponding TextClass. So
  keep the TextClass alive by keeping a TextClassPtr around for the
  pointers lifetime. This fixes Bug #4538.

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