diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2012-01-22 19:51:13 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2012-01-22 19:51:13 (GMT) |
commit | c22d77a7a9c0f26a060a58047f514869a9e0a067 (patch) | |
tree | 082a1fab748f7d6917c9728b6f302bb4757de12d /src/marshal.cpp | |
parent | fd8b446f8ae60e7d1dc259c6f5fe38c287377d19 (diff) | |
download | Doxygen-c22d77a7a9c0f26a060a58047f514869a9e0a067.zip Doxygen-c22d77a7a9c0f26a060a58047f514869a9e0a067.tar.gz Doxygen-c22d77a7a9c0f26a060a58047f514869a9e0a067.tar.bz2 |
Release-1.7.6.1-20120122
Diffstat (limited to 'src/marshal.cpp')
-rw-r--r-- | src/marshal.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/marshal.cpp b/src/marshal.cpp index 0675277..d366c57 100644 --- a/src/marshal.cpp +++ b/src/marshal.cpp @@ -157,6 +157,7 @@ void marshalSectionInfoList(StorageIntf *s, QList<SectionInfo> *anchors) marshalQCString(s,si->ref); marshalInt(s,(int)si->type); marshalQCString(s,si->fileName); + marshalInt(s,si->level); } } } @@ -195,7 +196,7 @@ void marshalSectionDict(StorageIntf *s,SectionDict *sections) else { marshalUInt(s,sections->count()); - QDictIterator<SectionInfo> sli(*sections); + SDict<SectionInfo>::IteratorDict sli(*sections); SectionInfo *si; for (sli.toFirst();(si=sli.current());++sli) { @@ -576,7 +577,8 @@ QList<SectionInfo> *unmarshalSectionInfoList(StorageIntf *s) QCString ref = unmarshalQCString(s); SectionInfo::SectionType type = (SectionInfo::SectionType)unmarshalInt(s); QCString fileName = unmarshalQCString(s); - result->append(new SectionInfo(fileName,label,title,type,ref)); + int level = unmarshalInt(s); + result->append(new SectionInfo(fileName,label,title,type,level,ref)); } return result; } @@ -619,7 +621,7 @@ SectionDict *unmarshalSectionDict(StorageIntf *s) QCString key = unmarshalQCString(s); SectionInfo *si = (SectionInfo *)unmarshalObjPointer(s); //printf(" unmarshalSectionDict i=%d key=%s si=%s\n",count,key.data(),si->label.data()); - result->insert(key,si); + result->append(key,si); } return result; } |