summaryrefslogtreecommitdiffstats
path: root/src/fileexporterrtf.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-28 12:35:55 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-28 12:35:55 +0900
commit278778f1151c2c3b4fade15afc7b94f624900b60 (patch)
tree3e5556534dce8216383a1026da88bfaef179ecc7 /src/fileexporterrtf.cpp
parent15710da5567c0dcf1291d09cb869ef1bf6d08541 (diff)
downloadkbibtex-278778f1151c2c3b4fade15afc7b94f624900b60.tar.gz
kbibtex-278778f1151c2c3b4fade15afc7b94f624900b60.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/fileexporterrtf.cpp')
-rw-r--r--src/fileexporterrtf.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fileexporterrtf.cpp b/src/fileexporterrtf.cpp
index a1d0423..c5f8749 100644
--- a/src/fileexporterrtf.cpp
+++ b/src/fileexporterrtf.cpp
@@ -43,7 +43,7 @@ namespace BibTeX
bool FileExporterRTF::save( TQIODevice* iodevice, const File* bibtexfile, TQStringList *errorLog )
{
m_mutex.lock();
- bool result = FALSE;
+ bool result = false;
TQFile bibtexFile( bibTeXFilename );
if ( bibtexFile.open( IO_WriteOnly ) )
@@ -64,7 +64,7 @@ namespace BibTeX
bool FileExporterRTF::save( TQIODevice* iodevice, const Element* element, TQStringList *errorLog )
{
m_mutex.lock();
- bool result = FALSE;
+ bool result = false;
TQFile bibtexFile( bibTeXFilename );
if ( bibtexFile.open( IO_WriteOnly ) )
@@ -97,9 +97,9 @@ namespace BibTeX
TQStringList cmdLines = TQStringList::split( '|', "latex bibtex-to-rtf.tex|bibtex bibtex-to-rtf|latex bibtex-to-rtf.tex|latex2rtf bibtex-to-rtf.tex" );
if ( writeLatexFile( laTeXFilename ) && runProcesses( cmdLines, errorLog ) && writeFileToIODevice( outputFilename, iodevice ) )
- return TRUE;
+ return true;
else
- return FALSE;
+ return false;
}
bool FileExporterRTF::writeLatexFile( const TQString &filename )
@@ -124,10 +124,10 @@ namespace BibTeX
ts << "\\bibliography{bibtex-to-rtf}\n";
ts << "\\end{document}\n";
latexFile.close();
- return TRUE;
+ return true;
}
else
- return FALSE;
+ return false;
}