diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-28 12:35:55 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-02 09:11:28 +0900 |
commit | 59be12b130757642abe0ea212fcb8f919879e5b5 (patch) | |
tree | b407f94812a772cf01d1281110b9c030080446d6 /src/fileexporterrtf.cpp | |
parent | a034edf0e3a516b55994c7aba28d1956c697c231 (diff) | |
download | kbibtex-r14.1.4.tar.gz kbibtex-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 278778f1151c2c3b4fade15afc7b94f624900b60)
Diffstat (limited to 'src/fileexporterrtf.cpp')
-rw-r--r-- | src/fileexporterrtf.cpp | 12 |
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; } |