A little change for crash if there is no textPage but, yet correctTextOrder() is called

remotes/origin/textfind-and-transparency
Mohammad Mahfuzur Rahman Mamun 15 years ago
parent 4c4f6c1c7c
commit a2be8384c5
  1. 5
      core/page.cpp

@ -452,9 +452,10 @@ void Page::setTextPage( TextPage * textPage )
if ( d->m_text )
{
d->m_text->d->m_page = d;
// Code for Text Selection
d->m_text->correctTextOrder();
}
// Code for Text Selection
d->m_text->correctTextOrder();
}
void Page::setObjectRects( const QLinkedList< ObjectRect * > & rects )

Loading…
Cancel
Save