diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-28 18:11:49 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-03 10:36:14 +0900 |
commit | cf85b9c285a2b9baa87c9d0cb9d683b48e82a475 (patch) | |
tree | 868514a6f6939c71ee95754268a4b850fa60c5a5 /kspread/functions.cpp | |
parent | a6b8cc41e27c15bb670aa7c0c0464b6eb44099e9 (diff) | |
download | koffice-cf85b9c285a2b9baa87c9d0cb9d683b48e82a475.tar.gz koffice-cf85b9c285a2b9baa87c9d0cb9d683b48e82a475.zip |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kspread/functions.cpp')
-rw-r--r-- | kspread/functions.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kspread/functions.cpp b/kspread/functions.cpp index 69f96fa0b..bfc724596 100644 --- a/kspread/functions.cpp +++ b/kspread/functions.cpp @@ -208,7 +208,7 @@ FunctionRepository* FunctionRepository::self() // find all XML description files TQStringList files = Factory::global()->dirs()->findAllResources - ("extensions", "*.xml", TRUE); + ("extensions", "*.xml", true); // load desc/help from XML file for( TQStringList::Iterator it = files.begin(); it != files.end(); ++it ) @@ -324,7 +324,7 @@ static ParameterType toType( const TQString& type ) return KSpread_Float; } -static TQString toString (ParameterType type, bool range = FALSE) +static TQString toString (ParameterType type, bool range = false) { if ( !range ) { @@ -363,7 +363,7 @@ static TQString toString (ParameterType type, bool range = FALSE) FunctionParameter::FunctionParameter() { m_type = KSpread_Float; - m_range = FALSE; + m_range = false; } FunctionParameter::FunctionParameter (const FunctionParameter& param) @@ -376,7 +376,7 @@ FunctionParameter::FunctionParameter (const FunctionParameter& param) FunctionParameter::FunctionParameter (const TQDomElement& element) { m_type = KSpread_Float; - m_range = FALSE; + m_range = false; TQDomNode n = element.firstChild(); for( ; !n.isNull(); n = n.nextSibling() ) @@ -391,7 +391,7 @@ FunctionParameter::FunctionParameter (const TQDomElement& element) if ( e.hasAttribute( "range" )) { if (e.attribute("range").lower() == "true") - m_range = TRUE; + m_range = true; } } } |