]> git.lyx.org Git - lyx.git/blobdiff - src/CursorSlice.cpp
Fixed some lines that were too long. It compiled afterwards.
[lyx.git] / src / CursorSlice.cpp
index 710f65c80419c0e2623700c66b8ce7c0feebb961..47b518cbfd2e72c3eaf0ff2953f33ca1d31ca8d3 100644 (file)
 
 #include <boost/assert.hpp>
 
+using std::endl;
 
-namespace lyx {
 
-using std::endl;
+namespace lyx {
 
 
 CursorSlice::CursorSlice()
@@ -44,18 +44,6 @@ CursorSlice::CursorSlice(Inset & p)
 }
 
 
-void CursorSlice::invalidate()
-{
-       inset_ = 0;
-}
-
-
-bool CursorSlice::isValid() const
-{
-       return inset_ != 0;
-}
-
-
 MathData & CursorSlice::cell() const
 {
        return inset_->asInsetMath()->cell(idx_);