diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-02-09 15:14:56 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-02-09 15:14:56 +0900 |
commit | 6b4be5f2df2da8986fa68a5de11d509cc37d44cb (patch) | |
tree | 4f22ca0f4708e3befcba96f1d3f47661acc5f02b /tdehtml/rendering/bidi.cpp | |
parent | ca0e1f81a7dbae8c609b1332e04db5ac7d6fe7df (diff) | |
download | tdelibs-6b4be5f2df2da8986fa68a5de11d509cc37d44cb.tar.gz tdelibs-6b4be5f2df2da8986fa68a5de11d509cc37d44cb.zip |
Fix -tdehtml-* rename regression. This resolves bugs 1825 and 1692
Diffstat (limited to 'tdehtml/rendering/bidi.cpp')
-rw-r--r-- | tdehtml/rendering/bidi.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
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<BidiRun> it2(runs); -// BidiRun *r2; -// for ( ; (r2 = it2.current()); ++it2 ) -// kdDebug(6041) << " " << r2 << " start=" << r2->start << " stop=" << r2->stop << " level=" << (uint)r2->level << endl; + TQPtrListIterator<BidiRun> 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 } |