Amend 20976e81: remove debug messages

This commit is contained in:
Jean-Marc Lasgouttes 2018-07-23 23:48:52 +02:00
parent ad954a32a5
commit c54fe6c584

View File

@ -947,13 +947,11 @@ void Text::deleteEmptyParagraphMechanism(pit_type first, pit_type last, bool tra
while (from < par.size() while (from < par.size()
&& (!par.isLineSeparator(from) || par.isDeleted(from))) && (!par.isLineSeparator(from) || par.isDeleted(from)))
++from; ++from;
LYXERR0("from=" << from);
// find string of spaces // find string of spaces
pos_type to = from; pos_type to = from;
while (to < par.size() while (to < par.size()
&& par.isLineSeparator(to) && !par.isDeleted(to)) && par.isLineSeparator(to) && !par.isDeleted(to))
++to; ++to;
LYXERR0("to=" << to);
// empty? We are done // empty? We are done
if (from == to) if (from == to)
break; break;