summaryrefslogtreecommitdiffstats
path: root/src/rtfgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-09-21 14:52:17 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-09-21 14:57:24 (GMT)
commit4a9541d1605333e70b5ab9193d65cb300d8ef18e (patch)
tree2281e5242581485a4b3d61a8f0b3079f5dd30758 /src/rtfgen.cpp
parentc35960af3b0b867cbcd31141e94fe1573ad2bcc0 (diff)
downloadDoxygen-4a9541d1605333e70b5ab9193d65cb300d8ef18e.zip
Doxygen-4a9541d1605333e70b5ab9193d65cb300d8ef18e.tar.gz
Doxygen-4a9541d1605333e70b5ab9193d65cb300d8ef18e.tar.bz2
Reduce the use of QString in favor of the more efficient QCString
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r--src/rtfgen.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp
index 229a817..f32936e 100644
--- a/src/rtfgen.cpp
+++ b/src/rtfgen.cpp
@@ -3049,7 +3049,9 @@ void RTFGenerator::endInlineMemberDoc()
void RTFGenerator::writeLineNumber(const char *,const char *,const char *,int l)
{
DoxyCodeLineOpen = TRUE;
- t << QString("%1").arg(l,5) << " ";
+ QCString lineNumber;
+ lineNumber.sprintf("%05d",l);
+ t << lineNumber << " ";
}
void RTFGenerator::startCodeLine(bool)
{