]> git.lyx.org Git - features.git/commit
Fix pasting insets into math (bug #9302)
authorGeorg Baum <baum@lyx.org>
Wed, 21 Jan 2015 21:27:06 +0000 (22:27 +0100)
committerGeorg Baum <baum@lyx.org>
Wed, 21 Jan 2015 21:27:06 +0000 (22:27 +0100)
commit2c5d4d83a21a7e715b98ae3a763740af63aae02f
tree74851dfd5109239faf9d9cc0de243aa680aac221
parentc5aad57bd79109d8a283b24b4aa9026ea2f9a97e
Fix pasting insets into math (bug #9302)

The problem was that the conversion to plain text (which is used as an
intermediate step) requires for some insets a valid buffer pointer, but
insets in the cut stack do not have one. Now we use the same temp buffer
business as for copying to the external clipboard.
src/CutAndPaste.cpp
src/CutAndPaste.h
src/mathed/InsetMathGrid.cpp
src/mathed/InsetMathNest.cpp
status.21x