[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kword/part/frames
From: Thomas Zander <zander () kde ! org>
Date: 2010-12-18 9:44:19
Message-ID: 20101218094419.9CD87AC8B0 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1207482 by zander:
Use more proper API
use the proper API instead of a not-very-obvious "+1"
M +1 -1 KWTextDocumentLayout.cpp
--- trunk/koffice/kword/part/frames/KWTextDocumentLayout.cpp #1207481:1207482
@@ -300,7 +300,7 @@
QRectF newLine = limit(rect);
if (newLine.width() <= 0 || line.textLength() == 0
- || line.cursorToX(line.textStart()+1) > newLine.right()) \
{ + || line.cursorToX(line.textStart(), \
QTextLine::Trailing) > newLine.right()) { const int Move = 10;
movedDown += Move;
if (movedDown > m_state->shape->size().height() * 1.3) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic