temp = ChangeExtension(filename, string());
// Add some stuff to have it a unique temp file.
- xpmfile = lyx::tempName(string(), temp); //TmpFileName(string(), temp);
+ xpmfile = lyx::tempName(string(), temp);
+#warning When is this tempfile unlinked? (Lgb)
xpmfile = ChangeExtension(xpmfile, ".xpm");
command += xpmfile;