diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2005-05-08 21:32:24 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2005-05-08 21:32:24 (GMT) |
commit | 5bd970b12ec39636593453d12e5b64bd935bbf38 (patch) | |
tree | c4bbe961812e7008b9e85fd820596290c043c0f6 /src/xmlgen.cpp | |
parent | 4a8c2f5c896a1883a0611d972952a68498002ae5 (diff) | |
download | Doxygen-5bd970b12ec39636593453d12e5b64bd935bbf38.zip Doxygen-5bd970b12ec39636593453d12e5b64bd935bbf38.tar.gz Doxygen-5bd970b12ec39636593453d12e5b64bd935bbf38.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; } } |