summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-12-22 15:54:58 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-12-22 15:54:58 (GMT)
commit9450e98030627c38b0df37bd1d5501055c8a37f2 (patch)
tree75aa94ecfd626a8956909348523dc9898808a584 /src/latexgen.cpp
parent0ea72fdd522e6bc3bc442e7d2ae40e7607546e55 (diff)
downloadDoxygen-9450e98030627c38b0df37bd1d5501055c8a37f2.zip
Doxygen-9450e98030627c38b0df37bd1d5501055c8a37f2.tar.gz
Doxygen-9450e98030627c38b0df37bd1d5501055c8a37f2.tar.bz2
Removed exitCode parameter as it is always 1
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 27be5b3..addde4c 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -288,7 +288,7 @@ static void writeLatexMakefile()
QFile file(fileName);
if (!file.open(IO_WriteOnly))
{
- term(1,"Could not open file %s for writing\n",fileName.data());
+ term("Could not open file %s for writing\n",fileName.data());
}
// inserted by KONNO Akihisa <konno@researchers.jp> 2002-03-05
QCString latex_command = theTranslator->latexCommandName();
@@ -386,7 +386,7 @@ static void writeMakeBat()
bool generateBib = !Doxygen::citeDict->isEmpty();
if (!file.open(IO_WriteOnly))
{
- term(1,"Could not open file %s for writing\n",fileName.data());
+ term("Could not open file %s for writing\n",fileName.data());
}
FTextStream t(&file);
t << "set Dir_Old=%cd%\n";
@@ -466,7 +466,7 @@ void LatexGenerator::init()
QDir d(dir);
if (!d.exists() && !d.mkdir(dir))
{
- term(1,"Could not create output directory %s\n",dir.data());
+ term("Could not create output directory %s\n",dir.data());
}
writeLatexMakefile();