summaryrefslogtreecommitdiffstats
path: root/src/outputgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/outputgen.cpp')
-rw-r--r--src/outputgen.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/outputgen.cpp b/src/outputgen.cpp
index 4e91156..2216bca 100644
--- a/src/outputgen.cpp
+++ b/src/outputgen.cpp
@@ -41,7 +41,7 @@ OutputGenerator::~OutputGenerator()
void OutputGenerator::startPlainFile(const char *name)
{
//printf("startPlainFile(%s)\n",name);
- QCString fileName=dir+"/"+name;
+ fileName=dir+"/"+name;
file = new QFile(fileName);
if (!file)
{
@@ -60,6 +60,7 @@ void OutputGenerator::endPlainFile()
{
delete file;
file=0;
+ fileName.resize(0);
}
void OutputGenerator::pushGeneratorState()