]> git.lyx.org Git - lyx.git/blobdiff - src/lyxrow_funcs.C
Point fix, earlier forgotten
[lyx.git] / src / lyxrow_funcs.C
index c4716fba3cc1cdaa28a52c1d234525aea71f648b..9dacc2aa219f9d206caac418c910fc0c10eb0e4d 100644 (file)
@@ -64,23 +64,6 @@ pos_type lastPos(Paragraph const & par, RowList::iterator rit)
 }
 
 
-namespace {
-
-bool nextRowIsAllInset(Paragraph const & par, pos_type last)
-{
-       if (last + 1 >= par.size())
-               return false;
-
-       if (!par.isInset(last + 1))
-               return false;
-
-       InsetOld const * i = par.getInset(last + 1);
-       return i->needFullRow() || i->display();
-}
-
-} // anon namespace
-
-
 pos_type lastPrintablePos(Paragraph const & par, RowList::iterator rit)
 {
        pos_type const last = lastPos(par, rit);
@@ -89,9 +72,6 @@ pos_type lastPrintablePos(Paragraph const & par, RowList::iterator rit)
        if (isParEnd(par, rit))
                return last;
 
-       if (!nextRowIsAllInset(par, last) && par.isSeparator(last))
-               return last - 1;
-
        return last;
 }