summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-06-11 19:22:39 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-06-11 19:22:39 (GMT)
commit93737357fcce05f46d2db771293d746ea4b79acc (patch)
treea213e1477917c43abbeeac764fe4d2846e726728 /src/util.cpp
parent4bdaaa8da9bee65b5cda2e60a55f95d948feba88 (diff)
downloadDoxygen-93737357fcce05f46d2db771293d746ea4b79acc.zip
Doxygen-93737357fcce05f46d2db771293d746ea4b79acc.tar.gz
Doxygen-93737357fcce05f46d2db771293d746ea4b79acc.tar.bz2
Release-1.1.4-20000611
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 29a2147..fed416a 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -1,6 +1,6 @@
/******************************************************************************
*
- * $Id$
+ *
*
* Copyright (C) 1997-2000 by Dimitri van Heesch.
*
@@ -2317,3 +2317,14 @@ QCString insertTemplateSpecifierInScope(const QCString &scope,const QCString &te
// scope.data(),templ.data(),result.data());
return result;
}
+
+QCString stripScope(const char *name)
+{
+ QCString result = name;
+ int i=result.findRev("::");
+ if (i!=-1)
+ {
+ result=result.right(result.length()-i-2);
+ }
+ return result;
+}