From aa3c544e9586ce37e688f9e308242cf0f6d0138a Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 20 Oct 2018 21:47:53 +0900 Subject: [PATCH] Removed obsolete Qt2's TQVector class and replaced with TQt3's TQPtrVector. Signed-off-by: Michele Calgaro --- tdehtml/rendering/render_text.cpp | 2 +- tdehtml/rendering/render_text.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tdehtml/rendering/render_text.cpp b/tdehtml/rendering/render_text.cpp index cd9fc554f..3a349844b 100644 --- a/tdehtml/rendering/render_text.cpp +++ b/tdehtml/rendering/render_text.cpp @@ -642,7 +642,7 @@ int InlineTextBoxArray::compareItems( Item d1, Item d2 ) return static_cast(d1)->m_y - static_cast(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(); diff --git a/tdehtml/rendering/render_text.h b/tdehtml/rendering/render_text.h index a05d65daa..073c328ed 100644 --- a/tdehtml/rendering/render_text.h +++ b/tdehtml/rendering/render_text.h @@ -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) {