diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-06-25 15:06:41 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-06-25 15:06:41 (GMT) |
commit | 7d9031583b2a1cc2374a54f5004ed2dd4a61e649 (patch) | |
tree | 85b63c5acfeaa5def630341302a12b466fbc3a42 /src/util.cpp | |
parent | 2d0679ab5e5cf4fd5daa7bbc007c9b43ccac42d8 (diff) | |
download | Doxygen-7d9031583b2a1cc2374a54f5004ed2dd4a61e649.zip Doxygen-7d9031583b2a1cc2374a54f5004ed2dd4a61e649.tar.gz Doxygen-7d9031583b2a1cc2374a54f5004ed2dd4a61e649.tar.bz2 |
Release-1.1.4-20000625
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp index 83aafe2..9643a7d 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -287,6 +287,7 @@ void linkifyText(OutputList &ol,const char *scName,const char *name,const char * int newIndex; int skipIndex=0; int floatingIndex=0; + if (strLen==0) return; // read a word from the text string while ((newIndex=regExp.match(txtStr,index,&matchLen))!=-1) { @@ -1987,6 +1988,7 @@ QCString substituteClassNames(const QCString &s) { int i=0,l,p; QCString result; + if (s.isEmpty()) return result; QRegExp r("[a-z_A-Z][a-z_A-Z0-9]*"); while ((p=r.match(s,i,&l))!=-1) { |