From 59be12b130757642abe0ea212fcb8f919879e5b5 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 28 Mar 2025 12:35:55 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro (cherry picked from commit 278778f1151c2c3b4fade15afc7b94f624900b60) --- src/fileexporterps.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/fileexporterps.cpp') diff --git a/src/fileexporterps.cpp b/src/fileexporterps.cpp index b808288..04e0997 100644 --- a/src/fileexporterps.cpp +++ b/src/fileexporterps.cpp @@ -44,7 +44,7 @@ namespace BibTeX bool FileExporterPS::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 ) ) @@ -65,7 +65,7 @@ namespace BibTeX bool FileExporterPS::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 ) ) @@ -98,9 +98,9 @@ namespace BibTeX TQStringList cmdLines = TQStringList::split( '|', "latex -halt-on-error bibtex-to-ps.tex|bibtex bibtex-to-ps|latex -halt-on-error bibtex-to-ps.tex|latex -halt-on-error bibtex-to-ps.tex|dvips -o bibtex-to-ps.ps bibtex-to-ps.dvi" ); if ( writeLatexFile( laTeXFilename ) && runProcesses( cmdLines, errorLog ) && writeFileToIODevice( outputFilename, iodevice ) ) - return TRUE; + return true; else - return FALSE; + return false; } bool FileExporterPS::writeLatexFile( const TQString &filename ) @@ -125,10 +125,10 @@ namespace BibTeX ts << "\\bibliography{bibtex-to-ps}\n"; ts << "\\end{document}\n"; latexFile.close(); - return TRUE; + return true; } else - return FALSE; + return false; } -- cgit v1.2.3