]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Bug IPAL11479, added a removal a temporary file "hdf_from_ascii.hdf"
authorsrn <srn@opencascade.com>
Mon, 20 Mar 2006 12:25:23 +0000 (12:25 +0000)
committersrn <srn@opencascade.com>
Mon, 20 Mar 2006 12:25:23 +0000 (12:25 +0000)
src/SALOMEDSImpl/SALOMEDSImpl_StudyManager.cxx

index f3f68e2da6fb1d29a10f59d826c0c2303145fee5..464ae7bc2cfeeae2bf252343b0057ea679063564 100644 (file)
@@ -209,7 +209,7 @@ Handle(SALOMEDSImpl_Study) SALOMEDSImpl_StudyManager::Open(const TCollection_Asc
 
   if (isASCII) {
     Handle(TColStd_HSequenceOfAsciiString) aFilesToRemove = new TColStd_HSequenceOfAsciiString;
-    aFilesToRemove->Append(aHDFUrl);
+    aFilesToRemove->Append("hdf_from_ascii.hdf");
     SALOMEDSImpl_Tool::RemoveTemporaryFiles(SALOMEDSImpl_Tool::GetDirFromPath(aHDFUrl), aFilesToRemove, true);
   }