]> git.lyx.org Git - lyx.git/blobdiff - src/CutAndPaste.C
explain why ownsClipbiard() does not work on Windows and OS X
[lyx.git] / src / CutAndPaste.C
index ac92f870406594bf4eb1d618c38f561bba4518ca..00831851f08aa00e316f72084e779acf20e64d1d 100644 (file)
@@ -33,7 +33,6 @@
 #include "paragraph.h"
 #include "paragraph_funcs.h"
 #include "ParagraphParameters.h"
-#include "ParagraphList_fwd.h"
 #include "pariterator.h"
 #include "undo.h"
 
@@ -665,10 +664,9 @@ void copySelection(LCursor & cur, docstring const & plaintext)
 
 void saveSelection(LCursor & cur)
 {
-       if (lyxerr.debugging(Debug::ACTION))
-               lyxerr << BOOST_CURRENT_FUNCTION << ": `"
-                      << to_utf8(cur.selectionAsString(true)) << "'."
-                      << endl;
+       LYXERR(Debug::ACTION) << BOOST_CURRENT_FUNCTION << ": `"
+              << to_utf8(cur.selectionAsString(true)) << "'."
+              << endl;
        
        if (cur.selection())
                copySelectionToStack(cur, selectionBuffer);