diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-05-08 21:32:24 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-05-08 21:32:24 (GMT) |
commit | 23885c2f2db71f003578f0d1b44555c067bfd7a5 (patch) | |
tree | c4bbe961812e7008b9e85fd820596290c043c0f6 /src/xmlgen.cpp | |
parent | 5d31b7ab211586100301d6838be82f066f8f9af4 (diff) | |
download | Doxygen-23885c2f2db71f003578f0d1b44555c067bfd7a5.zip Doxygen-23885c2f2db71f003578f0d1b44555c067bfd7a5.tar.gz Doxygen-23885c2f2db71f003578f0d1b44555c067bfd7a5.tar.bz2 |
Release-1.4.2-20050508
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r-- | src/xmlgen.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index 998ace4..3a73c55 100644 --- a/src/xmlgen.cpp +++ b/src/xmlgen.cpp @@ -483,9 +483,9 @@ static void stripQualifiers(QCString &typeStr) bool done=FALSE; while (!done) { - if (typeStr.left(7)=="static ") typeStr=typeStr.mid(7); - else if (typeStr.left(8)=="virtual ") typeStr=typeStr.mid(8); - else if (typeStr.left(9)=="volatile ") typeStr=typeStr.mid(9); + if (typeStr.stripPrefix("static ")); + else if (typeStr.stripPrefix("virtual ")); + else if (typeStr.stripPrefix("volatile ")); else done=TRUE; } } |