]> git.lyx.org Git - lyx.git/commit
Fix pasting insets into math (bug #9302)
authorGeorg Baum <baum@lyx.org>
Mon, 19 Jan 2015 20:37:01 +0000 (21:37 +0100)
committerGeorg Baum <baum@lyx.org>
Mon, 19 Jan 2015 20:37:01 +0000 (21:37 +0100)
commitc5782ff4bbf0129b8ef95c92b33560d67e593024
tree866005b8b44d855f0fc2088ceb3fc5a132a6fcb6
parent19f3f630bc6d148126b18ffbedcb9d2d7d158ef6
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