From 6b4be5f2df2da8986fa68a5de11d509cc37d44cb Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 9 Feb 2014 15:14:56 +0900 Subject: Fix -tdehtml-* rename regression. This resolves bugs 1825 and 1692 --- tdehtml/rendering/bidi.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'tdehtml/rendering/bidi.cpp') diff --git a/tdehtml/rendering/bidi.cpp b/tdehtml/rendering/bidi.cpp index d9991c501..7916a9c4f 100644 --- a/tdehtml/rendering/bidi.cpp +++ b/tdehtml/rendering/bidi.cpp @@ -877,7 +877,7 @@ bool RenderBlock::clearLineOfPageBreaks(InlineFlowBox* lineBox) lineBox->verticallyAlignBoxes(m_height); } #ifdef PAGE_DEBUG - kdDebug(6040) << "Cleared line " << lineBox->yPos() << "px" << endl; + kdDebug(6040) << "Cleared line " << lineBox->yPos() - oldYPos << "px" << endl; #endif setContainsPageBreak(true); } @@ -1254,8 +1254,8 @@ void RenderBlock::bidiReorderLine(const BidiIterator &start, const BidiIterator } #if BIDI_DEBUG > 0 -// kdDebug(6041) << "reached end of line current=" << current.obj << "/" << current.pos -// << ", eor=" << eor.obj << "/" << eor.pos << endl; + kdDebug(6041) << "reached end of line current=" << current.obj << "/" << current.pos + << ", eor=" << eor.obj << "/" << eor.pos << endl; #endif if ( !emptyRun && bidi.sor != bidi.current ) { bidi.eor = bidi.last; @@ -1286,10 +1286,10 @@ void RenderBlock::bidiReorderLine(const BidiIterator &start, const BidiIterator #if BIDI_DEBUG > 0 kdDebug(6041) << "lineLow = " << (uint)levelLow << ", lineHigh = " << (uint)levelHigh << endl; kdDebug(6041) << "logical order is:" << endl; -// TQPtrListIterator it2(runs); -// BidiRun *r2; -// for ( ; (r2 = it2.current()); ++it2 ) -// kdDebug(6041) << " " << r2 << " start=" << r2->start << " stop=" << r2->stop << " level=" << (uint)r2->level << endl; + TQPtrListIterator it2(runs); + BidiRun *r2; + for ( ; (r2 = it2.current()); ++it2 ) + kdDebug(6041) << " " << r2 << " start=" << r2->start << " stop=" << r2->stop << " level=" << (uint)r2->level << endl; #endif int count = sBidiRunCount - 1; @@ -1318,8 +1318,8 @@ void RenderBlock::bidiReorderLine(const BidiIterator &start, const BidiIterator #if BIDI_DEBUG > 0 kdDebug(6041) << "visual order is:" << endl; -// for (BidiRun* curr = sFirstRun; curr; curr = curr->nextRun) -// kdDebug(6041) << " " << curr << endl; + for (BidiRun* curr = sFirstRun; curr; curr = curr->nextRun) + kdDebug(6041) << " " << curr << endl; #endif } -- cgit v1.2.1