]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_pos.C
remove unneeded member
[lyx.git] / src / mathed / math_pos.C
index 43224096563339a90a2a36968e0d0e9ff2666a60..b4d53521dbc943bb5bff9f84f5e1db93fd5107ec 100644 (file)
@@ -8,6 +8,8 @@
 #include "support/LAssert.h"
 
 
+using std::ostream;
+
 MathCursorPos::MathCursorPos()
        : par_(0), idx_(0), pos_(0)
 {}
@@ -20,6 +22,7 @@ MathCursorPos::MathCursorPos(MathInset * p)
 }
 
 
+
 MathArray & MathCursorPos::cell(MathArray::idx_type idx) const
 {
        lyx::Assert(par_);
@@ -60,7 +63,7 @@ int MathCursorPos::ypos() const
 }
 
 
-std::ostream & operator<<(std::ostream & os, MathCursorPos const & p)
+ostream & operator<<(ostream & os, MathCursorPos const & p)
 {
        os << "(par: " << p.par_ << " idx: " << p.idx_ << " pos: " << p.pos_ << ")";
        return os;
@@ -89,5 +92,3 @@ bool operator<(MathCursorPos const & p, MathCursorPos const & q)
                return p.idx_ < q.idx_;
        return p.pos_ < q.pos_;
 }
-
-