// Remember to remove the temp file because we only want the name...
static int counter = 0;
string const tmp = "gconvert" + convert<string>(counter++);
- FileName const to_base = FileName::tempName(FileName(), tmp);
+ FileName const to_base = FileName::tempName(tmp);
to_base.removeFile();
// Create a copy of the file in case the original name contains