diff options
Diffstat (limited to 'src/index.cpp')
-rw-r--r-- | src/index.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/index.cpp b/src/index.cpp index 92c9f37..3d3169b 100644 --- a/src/index.cpp +++ b/src/index.cpp @@ -989,7 +989,7 @@ static void writeHierarchicalIndex(OutputList &ol) } FTVHelp* ftv = new FTVHelp(FALSE); writeClassHierarchy(ol,ftv,addToIndex,ClassDef::Class); - std::ostringstream t(std::ios_base::ate); + TextStream t; ftv->generateTreeViewInline(t); ol.pushGeneratorState(); ol.disableAllBut(OutputGenerator::Html); @@ -1095,7 +1095,7 @@ static void writeHierarchicalInterfaceIndex(OutputList &ol) } FTVHelp* ftv = new FTVHelp(FALSE); writeClassHierarchy(ol,ftv,addToIndex,ClassDef::Interface); - std::ostringstream t(std::ios_base::ate); + TextStream t; ftv->generateTreeViewInline(t); ol.pushGeneratorState(); ol.disableAllBut(OutputGenerator::Html); @@ -1201,7 +1201,7 @@ static void writeHierarchicalExceptionIndex(OutputList &ol) } FTVHelp* ftv = new FTVHelp(FALSE); writeClassHierarchy(ol,ftv,addToIndex,ClassDef::Exception); - std::ostringstream t(std::ios_base::ate); + TextStream t; ftv->generateTreeViewInline(t); ol.pushGeneratorState(); ol.disableAllBut(OutputGenerator::Html); @@ -1457,7 +1457,7 @@ static void writeFileIndex(OutputList &ol) FTVHelp* ftv = new FTVHelp(FALSE); writeDirHierarchy(ol,ftv,addToIndex); - std::ostringstream t(std::ios_base::ate); + TextStream t; ftv->generateTreeViewInline(t); ol.writeString(t.str().c_str()); delete ftv; @@ -1864,7 +1864,7 @@ static void writeNamespaceIndex(OutputList &ol) } FTVHelp* ftv = new FTVHelp(FALSE); writeNamespaceTree(*Doxygen::namespaceLinkedMap,ftv,TRUE,addToIndex); - std::ostringstream t(std::ios_base::ate); + TextStream t; ftv->generateTreeViewInline(t); ol.writeString(t.str().c_str()); delete ftv; @@ -2389,7 +2389,7 @@ static void writeAnnotatedIndexGeneric(OutputList &ol,const AnnotatedIndexContex FTVHelp ftv(false); writeClassTreeInsideNamespace(*Doxygen::namespaceLinkedMap,&ftv,TRUE,addToIndex,ctx.compoundType); writeClassTree(*Doxygen::classLinkedMap,&ftv,addToIndex,TRUE,ctx.compoundType); - std::ostringstream t(std::ios_base::ate); + TextStream t; ftv.generateTreeViewInline(t); ol.writeString(t.str().c_str()); if (addToIndex) @@ -3601,7 +3601,7 @@ static void writePageIndex(OutputList &ol) writePages(pd.get(),ftv); } } - std::ostringstream t(std::ios_base::ate); + TextStream t; ftv->generateTreeViewInline(t); ol.writeString(t.str().c_str()); delete ftv; @@ -3996,7 +3996,7 @@ static void writeGroupIndex(OutputList &ol) } FTVHelp* ftv = new FTVHelp(FALSE); writeGroupHierarchy(ol,ftv,addToIndex); - std::ostringstream t(std::ios_base::ate); + TextStream t; ftv->generateTreeViewInline(t); ol.disableAllBut(OutputGenerator::Html); ol.writeString(t.str().c_str()); @@ -4439,9 +4439,9 @@ static void writeIndexHierarchyEntries(OutputList &ol,const LayoutNavEntryList & uint index = (uint)kind; if (index>=indexWritten.size()) { - uint i; - uint oldSize = indexWritten.size(); - uint newSize = index+1; + size_t i; + size_t oldSize = indexWritten.size(); + size_t newSize = index+1; indexWritten.resize(newSize); for (i=oldSize;i<newSize;i++) indexWritten.at(i)=FALSE; } |