]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/tex2rtf/src/htmlutil.cpp
fixed some crashes
[wxWidgets.git] / utils / tex2rtf / src / htmlutil.cpp
index d29e17b7f3f24ec2b491ef1798d1f2a8516304da..e41b0312a6f9f67056bf174ce3b2818a3e7f5513 100644 (file)
 #include "tex2rtf.h"
 #include "table.h"
 
+
+extern wxHashTable TexReferences;
+
+
 extern void DecToHex(int, char *);
 void GenerateHTMLIndexFile(char *fname);
 
@@ -2021,7 +2025,7 @@ bool HTMLOnArgument(int macroId, int arg_no, bool start)
       if (imageFile)
         delete[] imageFile;
       imageFile = NULL;
-      if (f)
+      if (!f.IsEmpty())
       {
         imageFile = copystring(f);
       }