This commit is contained in:
Juergen Spitzmueller 2014-03-22 12:22:41 +01:00 committed by Richard Heck
parent a70571258d
commit b8661bcfb3

View File

@ -2499,7 +2499,7 @@ void BufferView::putSelectionAt(DocIterator const & cur,
bool BufferView::selectIfEmpty(DocIterator & cur) bool BufferView::selectIfEmpty(DocIterator & cur)
{ {
if ((cur.inTexted() && !cur.paragraph().empty()) if ((cur.inTexted() && !cur.paragraph().empty())
|| cur.inMathed() && !cur.cell().empty()) || (cur.inMathed() && !cur.cell().empty()))
return false; return false;
pit_type const beg_pit = cur.pit(); pit_type const beg_pit = cur.pit();