Permalink
Browse files

Bug 741417 - Crash when building gtkmm documentation

  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Dec 17, 2014
1 parent 2716fc4 commit 050fce2b73d6e4455808ab86da2fddcf2f26e9b5
Showing with 3 additions and 2 deletions.
  1. +2 −2 qtools/qcstring.cpp
  2. +1 −0 src/doxygen.cpp
View
@@ -247,9 +247,9 @@ QCString QCString::right( uint len ) const
QCString QCString::mid( uint index, uint len) const
{
int slen = length();
uint slen = (uint)length();
if (len==0xffffffff) len = slen-index;
if (isEmpty() || (int)index>=slen || len==0)
if (isEmpty() || index>=slen || len==0)
{
return QCString();
}
View
@@ -1010,6 +1010,7 @@ static Definition *buildScopeFromQualifiedName(const QCString name,
while (i<level)
{
int idx=getScopeFragment(name,p,&l);
if (idx==-1) return prevScope;
QCString nsName = name.mid(idx,l);
if (nsName.isEmpty()) return prevScope;
if (!fullScope.isEmpty()) fullScope+="::";

0 comments on commit 050fce2

Please sign in to comment.