]> git.lyx.org Git - lyx.git/blobdiff - src/CutAndPaste.C
Point fix, earlier forgotten
[lyx.git] / src / CutAndPaste.C
index 36c863428ff1f183dce6c9092f39c18c789aea12..627067bcee7ae07c9e1d535cabe92596084643ce 100644 (file)
@@ -1,4 +1,5 @@
-/* \file CutAndPaste.C
+/*
+ * \file CutAndPaste.C
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
@@ -6,7 +7,7 @@
  * \author Lars Gullik Bjønnes
  * \author Alfredo Braunstein
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
@@ -67,7 +68,7 @@ CutAndPaste::availableSelections(Buffer const & buffer)
                ParagraphList::const_iterator pit = pars.begin();
                ParagraphList::const_iterator pend = pars.end();
                for (; pit != pend; ++pit) {
-                       asciiSel += pit->asString(&buffer, false);
+                       asciiSel += pit->asString(buffer, false);
                        if (asciiSel.size() > 25) {
                                asciiSel.replace(22, string::npos, "...");
                                break;