X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fcursor_slice.C;h=02e7b4ab6270d82dbd3b3b8976c68a2ac8668b29;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=b23d2da4a0128980401e92464ccfde15519d856c;hpb=864515f3a32c4df83c477281468434a4f0a54a33;p=lyx.git diff --git a/src/cursor_slice.C b/src/cursor_slice.C index b23d2da4a0..02e7b4ab62 100644 --- a/src/cursor_slice.C +++ b/src/cursor_slice.C @@ -23,6 +23,9 @@ #include + +namespace lyx { + using std::endl; @@ -56,7 +59,7 @@ Paragraph const & CursorSlice::paragraph() const } -CursorSlice::pos_type CursorSlice::lastpos() const +pos_type CursorSlice::lastpos() const { BOOST_ASSERT(inset_); return inset_->asInsetMath() ? cell().size() : paragraph().size(); @@ -134,3 +137,6 @@ std::ostream & operator<<(std::ostream & os, CursorSlice const & item) // << " y: " << item.inset().y() ; } + + +} // namespace lyx