From b3f74bb12ab86a90a05f7d48325b25c408d0b985 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 28 Oct 2024 13:39:23 +0900 Subject: Drop Borland compiler specific code Signed-off-by: Michele Calgaro (cherry picked from commit 69e1261df646edf24612d7f953dac81182e7461b) --- src/kernel/qrichtext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/qrichtext.cpp') diff --git a/src/kernel/qrichtext.cpp b/src/kernel/qrichtext.cpp index ecc304071..4609a340b 100644 --- a/src/kernel/qrichtext.cpp +++ b/src/kernel/qrichtext.cpp @@ -2259,7 +2259,7 @@ TQString TQTextDocument::plainText() const TQTextParagraph *p = fParag; while ( p ) { if ( !p->mightHaveCustomItems ) { - const TQTextString *ts = p->string(); // workaround VC++ and Borland + const TQTextString *ts = p->string(); s = ts->toString(); // with FALSE we don't fix spaces (nbsp) } else { for ( int i = 0; i < p->length() - 1; ++i ) { -- cgit v1.2.3