diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2005-07-07 20:16:18 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2005-07-07 20:16:18 (GMT) |
commit | e00238b5830e4cd858fe8a10cc7ac83981212203 (patch) | |
tree | 3b82721edc171f76f1a6712ff59e547a592aec23 /src/util.cpp | |
parent | d497898d92c2d2e3495505095563f07549dc2201 (diff) | |
download | Doxygen-e00238b5830e4cd858fe8a10cc7ac83981212203.zip Doxygen-e00238b5830e4cd858fe8a10cc7ac83981212203.tar.gz Doxygen-e00238b5830e4cd858fe8a10cc7ac83981212203.tar.bz2 |
Release-1.4.3-20050707
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util.cpp b/src/util.cpp index 881988e..a175db0 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -2705,7 +2705,7 @@ static QCString getCanonicalTypeForIdentifier( { QCString ts; result = resolveSymbolName(fs,defList->first(),ts); - *tSpec=""; + if (tSpec) *tSpec=""; } else if (!symName.isEmpty() && (defList=Doxygen::symbolMap->find(symName)) && @@ -2723,7 +2723,7 @@ static QCString getCanonicalTypeForIdentifier( if (!templSpec.isEmpty()) { cd = getResolvedClass(d,fs,word+templSpec,&mType,0,TRUE); - if (cd) *tSpec=""; + if (cd && tSpec) *tSpec=""; } if (cd==0) { @@ -2742,7 +2742,7 @@ static QCString getCanonicalTypeForIdentifier( { //result = cd->qualifiedNameWithTemplateParameters(); result = removeRedundantWhiteSpace(cd->qualifiedName()+templSpec); - if (cd->isTemplate()) + if (cd->isTemplate() && tSpec) { *tSpec=""; } |