From 69d5ffaa68210a6e63a618ef304c63462f6e1fac Mon Sep 17 00:00:00 2001 From: albert-github Date: Fri, 24 Jul 2015 18:14:49 +0200 Subject: [PATCH] Bug 661814 - writeMemberNavIndex template calls static fixSpaces Problem had already been, partly, solved seen the comment in index.cpp. Removed double code (from htmlgen.cpp) and added prototype. --- src/htmlgen.cpp | 5 ----- src/index.h | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp index a2dd473eed2..dadbb4f8e0c 100644 --- a/src/htmlgen.cpp +++ b/src/htmlgen.cpp @@ -1952,11 +1952,6 @@ static void endQuickIndexItem(FTextStream &t,const char *l) t << "\n"; } -static QCString fixSpaces(const QCString &s) -{ - return substitute(s," "," "); -} - static bool quickLinkVisible(LayoutNavEntry::Kind kind) { static bool showFiles = Config_getBool("SHOW_FILES"); diff --git a/src/index.h b/src/index.h index 150d23f1255..ace3614043b 100644 --- a/src/index.h +++ b/src/index.h @@ -284,5 +284,6 @@ void initNamespaceMemberIndices(); void addClassMemberNameToIndex(MemberDef *md); void addFileMemberNameToIndex(MemberDef *md); void addNamespaceMemberNameToIndex(MemberDef *md); +QCString fixSpaces(const QCString &s); #endif