X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a29912f608e082001ee53b9873323c4bcd71f21..2027c6db5b3a77b1ea97c0395e654644643192ab:/utils/tex2rtf/src/xlputils.cpp diff --git a/utils/tex2rtf/src/xlputils.cpp b/utils/tex2rtf/src/xlputils.cpp index bcbc4a0fb7..217f0416c9 100644 --- a/utils/tex2rtf/src/xlputils.cpp +++ b/utils/tex2rtf/src/xlputils.cpp @@ -41,6 +41,10 @@ wxList hyperLinks(wxKEY_INTEGER); wxList hyperLabels(wxKEY_STRING); FILE *Index = NULL; + +extern wxHashTable TexReferences; + + void PadToTab(int tabPos) { int currentCol = GetCurrentColumn(); @@ -1191,7 +1195,7 @@ bool XLPGo(void) fclose(Subsubsections); Subsubsections = NULL; fclose(Index); Index = NULL; - if (FileExists(ContentsName)) wxRemoveFile(ContentsName); + if (wxFileExists(ContentsName)) wxRemoveFile(ContentsName); if (!wxRenameFile(TmpContentsName, ContentsName)) {