summaryrefslogtreecommitdiffstats
path: root/src/fileexporterdocbook5.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/fileexporterdocbook5.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/fileexporterdocbook5.cpp')
-rw-r--r--src/fileexporterdocbook5.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fileexporterdocbook5.cpp b/src/fileexporterdocbook5.cpp
index 25b568e..eb33e59 100644
--- a/src/fileexporterdocbook5.cpp
+++ b/src/fileexporterdocbook5.cpp
@@ -43,7 +43,7 @@ namespace BibTeX
bool FileExporterDocBook5::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 FileExporterDocBook5::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 ) )
@@ -88,9 +88,9 @@ namespace BibTeX
cmdLine << "java" << "-cp" << m_classPath << "net.sf.bib2db5.DB5Converter" << "-O" << "." << "bibtex-to-docbook5.bib";
if ( runProcess( cmdLine, errorLog ) && writeFileToIODevice( outputFilename, iodevice ) )
- return TRUE;
+ return true;
else
- return FALSE;
+ return false;
}
}