]> git.lyx.org Git - features.git/commit
un-revert r30531, after Richard told me how to avoid the crash. Now, before
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 16 Jul 2009 08:37:32 +0000 (08:37 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 16 Jul 2009 08:37:32 +0000 (08:37 +0000)
commit408b96bb928c7fcc436f554732e20ef112b5e4b1
treefed5e6ade85cf493995cbb63c55e3a61a45359ca
parent0dd2067a8f161fbd7ff6113a0164364c8b967d08
un-revert r30531, after Richard told me how to avoid the crash. Now, before
accepting changes in a clipboard copy (CutAndPaste.cpp), we set the buffer
of insets (and we reset them later).

Doing this makes sense because we know this is the only operation on these
out-of-document paragraphs that will require access to a buffer.

Also, this commit gets rid of one explicit test against ERT_CODE and
LISTING_CODE.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30623 a592a061-630c-0410-9148-cb99ea01b6c8
src/CutAndPaste.cpp
src/Paragraph.cpp
src/Paragraph.h
src/Text.cpp
src/insets/Inset.cpp
src/insets/Inset.h
src/insets/InsetTabular.cpp
src/insets/InsetTabular.h
src/insets/InsetText.cpp
src/insets/InsetText.h
src/paragraph_funcs.cpp