$NetBSD: patch-af,v 1.1 2004/03/30 18:23:46 ben Exp $

--- xlputils.cpp.orig	Thu Nov 23 05:27:52 2000
+++ xlputils.cpp
@@ -1195,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))
     {
