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:
@@ -3123,7 +3123,7 @@ void GenerateHTMLIndexFile(wxChar *fname)
|
||||
return;
|
||||
|
||||
TopicTable.BeginFind();
|
||||
wxNode *node = TopicTable.Next();
|
||||
wxHashTable::Node *node = TopicTable.Next();
|
||||
while (node)
|
||||
{
|
||||
TexTopic *texTopic = (TexTopic *)node->GetData();
|
||||
@@ -3223,7 +3223,7 @@ void GenerateHTMLWorkshopFiles(wxChar *fname)
|
||||
_T("<UL>\n"));
|
||||
|
||||
TopicTable.BeginFind();
|
||||
wxNode *node = TopicTable.Next();
|
||||
wxHashTable::Node *node = TopicTable.Next();
|
||||
while (node)
|
||||
{
|
||||
TexTopic *texTopic = (TexTopic *)node->GetData();
|
||||
|
@@ -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();
|
||||
|
@@ -432,12 +432,12 @@ int MyApp::OnExit()
|
||||
node = CustomMacroList.GetFirst();
|
||||
}
|
||||
MacroDefs.BeginFind();
|
||||
node = MacroDefs.Next();
|
||||
while (node)
|
||||
wxHashTable::Node* mNode = MacroDefs.Next();
|
||||
while (mNode)
|
||||
{
|
||||
TexMacroDef* def = (TexMacroDef*) node->GetData();
|
||||
TexMacroDef* def = (TexMacroDef*) mNode->GetData();
|
||||
delete def;
|
||||
node = MacroDefs.Next();
|
||||
mNode = MacroDefs.Next();
|
||||
}
|
||||
MacroDefs.Clear();
|
||||
#ifdef __WXMSW__
|
||||
|
@@ -401,7 +401,7 @@ void WriteTexReferences(wxChar *filename)
|
||||
if (ostr.bad()) return;
|
||||
|
||||
TexReferences.BeginFind();
|
||||
wxNode *node = TexReferences.Next();
|
||||
wxHashTable::Node *node = TexReferences.Next();
|
||||
while (node)
|
||||
{
|
||||
Tex2RTFYield();
|
||||
@@ -1663,7 +1663,7 @@ void AddKeyWordForTopic(wxChar *topic, wxChar *entry, wxChar *filename)
|
||||
void ClearKeyWordTable(void)
|
||||
{
|
||||
TopicTable.BeginFind();
|
||||
wxNode *node = TopicTable.Next();
|
||||
wxHashTable::Node *node = TopicTable.Next();
|
||||
while (node)
|
||||
{
|
||||
TexTopic *texTopic = (TexTopic *)node->GetData();
|
||||
|
Reference in New Issue
Block a user