aPrefix = SALOMEDS_Tool::GetNameFromPath(anURL.in());
}
- std::string aFileName = aPrefix + "_" + GetFileName();
+ std::string aFileName = aPrefix + "_" + GetFileName().c_str();
BEGMSG(MYDEBUG, "aFileName = '"<<aFileName<<"'\n");
std::string aFile = GetFileInfo().filePath().latin1();
VISU::Result_i
::GetFileName() const
{
- if(GetSourceId() == eFile)
+ if(GetSourceId() == eRestoredFile)
return VISU::MakeFileName(myFileName, this);
return myFileName;