X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FCDF%2FCDF_StoreList.cxx;h=24d399771c4ed8957c5fb793d3e37c1850368264;hb=6d8f9f4a49bbe113c47c9fff37d8984c5c516508;hpb=d27293d9bfd3ecd849bf234492d934825ac5fc7c diff --git a/src/CDF/CDF_StoreList.cxx b/src/CDF/CDF_StoreList.cxx index 91149aed7e..24d399771c 100644 --- a/src/CDF/CDF_StoreList.cxx +++ b/src/CDF/CDF_StoreList.cxx @@ -74,8 +74,10 @@ void CDF_StoreList::Next() { Handle(CDM_Document) CDF_StoreList::Value() const { return myIterator.Key(); } -PCDM_StoreStatus CDF_StoreList::Store (Handle(CDM_MetaData)& aMetaData, TCollection_ExtendedString& aStatusAssociatedText) { - +PCDM_StoreStatus CDF_StoreList::Store (Handle(CDM_MetaData)& aMetaData, + TCollection_ExtendedString& aStatusAssociatedText, + const Handle(Message_ProgressIndicator)& theProgress) +{ Handle(CDF_MetaDataDriver) theMetaDataDriver = CDF_Session::CurrentSession()->MetaDataDriver(); PCDM_StoreStatus status = PCDM_SS_OK; @@ -112,7 +114,7 @@ PCDM_StoreStatus CDF_StoreList::Store (Handle(CDM_MetaData)& aMetaData, TCollect } TCollection_ExtendedString theName=theMetaDataDriver->BuildFileName(theDocument); - aDocumentStorageDriver->Write(theDocument,theName); + aDocumentStorageDriver->Write(theDocument, theName, theProgress); status = aDocumentStorageDriver->GetStoreStatus(); aMetaData = theMetaDataDriver->CreateMetaData(theDocument,theName); theDocument->SetMetaData(aMetaData);