]> git.lyx.org Git - lyx.git/blobdiff - src/lyxcursor.h
J�rgen Spitzm�ller's tweak of the Paragraph dialog.
[lyx.git] / src / lyxcursor.h
index a3025e4073fe594bd6beffa275fb32bbd1d0318f..1032055f0e5006f217dfe3fe6ee165907d9a3214 100644 (file)
@@ -28,8 +28,6 @@ public:
        ///
        void par(Paragraph * p);
        ///
-       //Paragraph * par();
-       ///
        Paragraph * par() const;
        ///
        void pos(Paragraph::size_type p);
@@ -54,8 +52,6 @@ public:
        ///
        void row(Row * r);
        ///
-       //Row * row();
-       ///
        Row * row() const;
 private:
        /// The paragraph the cursor is in.
@@ -109,11 +105,7 @@ bool operator>(LyXCursor const & a, LyXCursor const & b)
 inline
 bool operator>=(LyXCursor const & a, LyXCursor const & b)
 {
-#if 0
-       return (a > b || a == b);
-#else
        return !(a < b);
-#endif
 }
 
 
@@ -121,11 +113,7 @@ bool operator>=(LyXCursor const & a, LyXCursor const & b)
 inline
 bool operator<=(LyXCursor const & a, LyXCursor const & b)
 {
-#if 0
-       return (a < b || a == b);
-#else
        return !(a > b);
-#endif
 }
 
 #endif