]> git.lyx.org Git - features.git/blobdiff - src/cursor_slice.C
and some mathed de-uglyfication
[features.git] / src / cursor_slice.C
index 6c4befd0a6ee6cc2b35dd48b9845f1b9cc211e53..f4e6fb43a99fa3d01bb90ca4495965d94c4bbc4c 100644 (file)
@@ -128,14 +128,14 @@ bool CursorSlice::boundary() const
 CursorSlice::row_type CursorSlice::row() const
 {
        BOOST_ASSERT(asMathInset());
-       asMathInset()->row(idx_);
+       return asMathInset()->row(idx_);
 }
 
 
 CursorSlice::col_type CursorSlice::col() const
 {
        BOOST_ASSERT(asMathInset());
-       asMathInset()->col(idx_);
+       return asMathInset()->col(idx_);
 }