summaryrefslogtreecommitdiffstats
path: root/src/kernel/qrichtext.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-10-28 13:39:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-01-08 12:31:53 +0900
commitb3f74bb12ab86a90a05f7d48325b25c408d0b985 (patch)
tree9bfd26f8b7c6a3e7a1f2cce66019d41f51fb9cb8 /src/kernel/qrichtext.cpp
parent64d2e7533f57a6ffd64827d83f93a994efafd8d0 (diff)
downloadtqt-b3f74bb12ab86a90a05f7d48325b25c408d0b985.tar.gz
tqt-b3f74bb12ab86a90a05f7d48325b25c408d0b985.zip
Drop Borland compiler specific code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 69e1261df646edf24612d7f953dac81182e7461b)
Diffstat (limited to 'src/kernel/qrichtext.cpp')
-rw-r--r--src/kernel/qrichtext.cpp2
1 files changed, 1 insertions, 1 deletions
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 ) {