From: Richard Heck Date: Wed, 9 Jul 2008 21:58:13 +0000 (+0000) Subject: Thanks, Abdel. X-Git-Tag: 1.6.10~4155 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2b70ed02048ea2995fe15a98034f10de71864707;p=lyx.git Thanks, Abdel. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25524 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/CutAndPaste.cpp b/src/CutAndPaste.cpp index 8f12370a6b..24b5aaf3c5 100644 --- a/src/CutAndPaste.cpp +++ b/src/CutAndPaste.cpp @@ -375,7 +375,7 @@ void putClipboard(ParagraphList const & paragraphs, else theClipboard().put(string(), plaintext); // Save that memory - buffer.paragraphs() = ParagraphList(); + buffer.paragraphs().clear(); }