Advertisement
Guest User

Untitled

a guest
May 28th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. Index: /mnt/disk/koffice/kword/part/frames/KWTextDocumentLayout.cpp
  2. ===================================================================
  3. --- /mnt/disk/koffice/kword/part/frames/KWTextDocumentLayout.cpp (revision 1131562)
  4. +++ /mnt/disk/koffice/kword/part/frames/KWTextDocumentLayout.cpp (working copy)
  5. @@ -551,7 +551,7 @@
  6. #endif
  7.  
  8. bottomOfText = line.line.y() + line.line.height();
  9. - if (bottomOfText > m_state->shape->size().height() && document()->blockCount() == 1) {
  10. + if (bottomOfText > m_state->shape->position().y() + m_state->shape->size().height() && document()->blockCount() == 1) {
  11. TDEBUG << "requestMoreFrames" << (bottomOfText - m_state->shape->size().height());
  12. m_frameSet->requestMoreFrames(bottomOfText - m_state->shape->size().height());
  13. cleanupAnchors();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement