Browse Source

Removed obsolete Qt2's TQVector class and replaced

with TQt3's TQPtrVector.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/4/head
Michele Calgaro 1 year ago
parent
commit
aa3c544e95
Signed by: MicheleC <michele.calgaro@yahoo.it> GPG Key ID: 2A75B7CA8ADED5CF
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      tdehtml/rendering/render_text.cpp
  2. +1
    -1
      tdehtml/rendering/render_text.h

+ 1
- 1
tdehtml/rendering/render_text.cpp View File

@@ -642,7 +642,7 @@ int InlineTextBoxArray::compareItems( Item d1, Item d2 )
return static_cast<InlineTextBox*>(d1)->m_y - static_cast<InlineTextBox*>(d2)->m_y;
}

// remove this once TQVector::bsearch is fixed
// remove this once TQPtrVector::bsearch is fixed
int InlineTextBoxArray::findFirstMatching(Item d) const
{
int len = count();


+ 1
- 1
tdehtml/rendering/render_text.h View File

@@ -144,7 +144,7 @@ public:
bool m_reversed : 1;
unsigned m_toAdd : 14; // for justified text
private:
// this is just for TQVector::bsearch. Don't use it otherwise
// this is just for TQPtrVector::bsearch. Don't use it otherwise
InlineTextBox(int _x, int _y)
:InlineBox(0)
{


Loading…
Cancel
Save