TeX2RTF compilation fixes after my last wxHashTable changes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2004-05-08 09:40:59 +00:00
parent 62cdd7d3f8
commit f6fe5318e5
4 changed files with 17 additions and 17 deletions

View File

@@ -2056,22 +2056,22 @@ void TexCleanUp(void)
}
/**/
TexReferences.BeginFind();
wxNode *node = TexReferences.Next();
while (node)
wxHashTable::Node *refNode = TexReferences.Next();
while (refNode)
{
TexRef *ref = (TexRef *)node->GetData();
TexRef *ref = (TexRef *)refNode->GetData();
delete ref;
node = TexReferences.Next();
refNode = TexReferences.Next();
}
TexReferences.Clear();
node = BibList.GetFirst();
while (node)
wxNode* bibNode = BibList.GetFirst();
while (bibNode)
{
BibEntry *entry = (BibEntry *)node->GetData();
BibEntry *entry = (BibEntry *)bibNode->GetData();
delete entry;
delete node;
node = BibList.GetFirst();
delete bibNode;
bibNode = BibList.GetFirst();
}
CitationList.Clear();
ResetTopicCounter();