summaryrefslogtreecommitdiffstats
path: root/tools/thesaurus/main.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-28 18:11:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-03 19:23:45 +0900
commit0bd9d5459891e6fb17ee6802878f85e217cb9f54 (patch)
tree962f6ea26d1fab041fe3476fbbd64132ab8ada1b /tools/thesaurus/main.cpp
parentcb258b7e39ffa5662b57e7d9006e69172a378d7e (diff)
downloadkoffice-r14.1.4.tar.gz
koffice-r14.1.4.zip
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit cf85b9c285a2b9baa87c9d0cb9d683b48e82a475)
Diffstat (limited to 'tools/thesaurus/main.cpp')
-rw-r--r--tools/thesaurus/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/thesaurus/main.cpp b/tools/thesaurus/main.cpp
index 622314c5b..73de57eed 100644
--- a/tools/thesaurus/main.cpp
+++ b/tools/thesaurus/main.cpp
@@ -238,11 +238,11 @@ bool Thesaurus::run(const TQString& command, void* data, const TQString& datatyp
// Check whether we can accept the data
if ( datatype != "TQString" ) {
kdDebug(31000) << "Thesaurus only accepts datatype TQString" << endl;
- return FALSE;
+ return false;
}
if ( mimetype != "text/plain" ) {
kdDebug(31000) << "Thesaurus only accepts mimetype text/plain" << endl;
- return FALSE;
+ return false;
}
if ( command == "thesaurus" ) {
@@ -260,7 +260,7 @@ bool Thesaurus::run(const TQString& command, void* data, const TQString& datatyp
} else {
kdDebug(31000) << "Thesaurus does only accept the command 'thesaurus' or 'thesaurus_standalone'" << endl;
kdDebug(31000) << "The command " << command << " is not accepted" << endl;
- return FALSE;
+ return false;
}
// Get data and clean it up:
@@ -284,7 +284,7 @@ bool Thesaurus::run(const TQString& command, void* data, const TQString& datatyp
*((TQString*)data) = m_replace->text();
}
- return TRUE;
+ return true;
}