summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-01-03 13:46:35 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-01-03 13:49:24 (GMT)
commita1f2872ef098cfcc526002b9c9d533da6f2775b5 (patch)
tree0cedf72fdb4def8cba83aa9646ed22bb89951ed5
parent088896f27f460b6ac03c2d64df148e3617c1e519 (diff)
downloadDoxygen-a1f2872ef098cfcc526002b9c9d533da6f2775b5.zip
Doxygen-a1f2872ef098cfcc526002b9c9d533da6f2775b5.tar.gz
Doxygen-a1f2872ef098cfcc526002b9c9d533da6f2775b5.tar.bz2
Fixed regression due to buffer resizing while generating RTF.
-rw-r--r--src/rtfgen.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp
index 2a6fd07..0c27089 100644
--- a/src/rtfgen.cpp
+++ b/src/rtfgen.cpp
@@ -2370,14 +2370,12 @@ static bool preProcessFile(QDir &d,QCString &infName, FTextStream &t, bool bIncl
err("read error in %s before end of RTF header!\n",infName.data());
return FALSE;
}
- lineBuf.resize(len+1);
if (bIncludeHeader) encodeForOutput(t,lineBuf.data());
} while (lineBuf.find("\\comment begin body")==-1);
while ((len=f.readLine(lineBuf.rawData(),maxLineLength))!=-1)
{
- lineBuf.resize(len+1);
int pos;
if ((pos=lineBuf.find("INCLUDETEXT"))!=-1)
{