summaryrefslogtreecommitdiffstats
path: root/src/xmlgen.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-05-08 21:32:24 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-05-08 21:32:24 (GMT)
commit23885c2f2db71f003578f0d1b44555c067bfd7a5 (patch)
treec4bbe961812e7008b9e85fd820596290c043c0f6 /src/xmlgen.cpp
parent5d31b7ab211586100301d6838be82f066f8f9af4 (diff)
downloadDoxygen-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.cpp6
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;
}
}