]> git.lyx.org Git - lyx.git/blobdiff - src/Undo.cpp
Typo.
[lyx.git] / src / Undo.cpp
index 4f9634bccd2ef0b0b537325f9e17240bf6115207..f7d31eb0a40e8f2e7c583e163ffef1e4314e69e8 100644 (file)
@@ -35,7 +35,6 @@
 
 #include <algorithm>
 #include <deque>
-#include <ostream>
 
 using namespace std;
 using namespace lyx::support;
@@ -193,16 +192,6 @@ bool Undo::hasRedoStack() const
 }
 
 
-#if 0
-static ostream & operator<<(ostream & os, UndoElement const & undo)
-{
-       return os << " from: " << undo.from << " end: " << undo.end
-               << " cell:\n" << undo.cell
-               << " cursor:\n" << undo.cursor;
-}
-#endif
-
-
 static bool samePar(StableDocIterator const & i1, StableDocIterator const & i2)
 {
        StableDocIterator tmpi2 = i2;