From 0bd9d5459891e6fb17ee6802878f85e217cb9f54 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 28 Mar 2025 18:11:49 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro (cherry picked from commit cf85b9c285a2b9baa87c9d0cb9d683b48e82a475) --- kspread/functions.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kspread/functions.cpp') diff --git a/kspread/functions.cpp b/kspread/functions.cpp index fa485171a..99f021c27 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; } } } -- cgit v1.2.3