Loading src/htmldocvisitor.cpp +23 −20 Original line number Diff line number Diff line Loading @@ -44,6 +44,8 @@ static QCString convertIndexWordToAnchor(const QString &word) QCString result; const char *str = word.data(); unsigned char c; if (str) { while ((c = *str++)) { if ((c >= 'a' && c <= 'z') || // ALPHA Loading @@ -67,6 +69,7 @@ static QCString convertIndexWordToAnchor(const QString &word) result += enc; } } } return result; } Loading src/latexdocvisitor.cpp +26 −20 Original line number Diff line number Diff line Loading @@ -38,6 +38,8 @@ static QCString escapeLabelName(const char *s) QCString result; const char *p=s; char c; if (p) { while ((c=*p++)) { switch (c) Loading @@ -51,6 +53,7 @@ static QCString escapeLabelName(const char *s) default: result+=c; } } } return result; } Loading @@ -73,6 +76,8 @@ QCString LatexDocVisitor::escapeMakeIndexChars(const char *s) const char *p=s; char str[2]; str[1]=0; char c; if (p) { while ((c=*p++)) { switch (c) Loading @@ -88,6 +93,7 @@ QCString LatexDocVisitor::escapeMakeIndexChars(const char *s) default: str[0]=c; filter(str); break; } } } return result; } Loading Loading
src/htmldocvisitor.cpp +23 −20 Original line number Diff line number Diff line Loading @@ -44,6 +44,8 @@ static QCString convertIndexWordToAnchor(const QString &word) QCString result; const char *str = word.data(); unsigned char c; if (str) { while ((c = *str++)) { if ((c >= 'a' && c <= 'z') || // ALPHA Loading @@ -67,6 +69,7 @@ static QCString convertIndexWordToAnchor(const QString &word) result += enc; } } } return result; } Loading
src/latexdocvisitor.cpp +26 −20 Original line number Diff line number Diff line Loading @@ -38,6 +38,8 @@ static QCString escapeLabelName(const char *s) QCString result; const char *p=s; char c; if (p) { while ((c=*p++)) { switch (c) Loading @@ -51,6 +53,7 @@ static QCString escapeLabelName(const char *s) default: result+=c; } } } return result; } Loading @@ -73,6 +76,8 @@ QCString LatexDocVisitor::escapeMakeIndexChars(const char *s) const char *p=s; char str[2]; str[1]=0; char c; if (p) { while ((c=*p++)) { switch (c) Loading @@ -88,6 +93,7 @@ QCString LatexDocVisitor::escapeMakeIndexChars(const char *s) default: str[0]=c; filter(str); break; } } } return result; } Loading