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 19:23:45 +0900 |
commit | 0bd9d5459891e6fb17ee6802878f85e217cb9f54 (patch) | |
tree | 962f6ea26d1fab041fe3476fbbd64132ab8ada1b /kspread/functions.cpp | |
parent | cb258b7e39ffa5662b57e7d9006e69172a378d7e (diff) | |
download | koffice-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 '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 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; } } } |