std::ifstream aFileStream;
OSD_OpenStream (aFileStream, path, std::ios::in | std::ios::binary);
- theStatus = A->Open (aFileStream, D, aProgress);
+ theStatus = A->Open (aFileStream, D, aProgress->Start());
}
else
{
- theStatus = A->Open (path, D, aProgress);
+ theStatus = A->Open (path, D, aProgress->Start());
}
if (theStatus == PCDM_RS_OK && !D.IsNull())
{
}
Handle(Draw_ProgressIndicator) aProgress = new Draw_ProgressIndicator(di, 1);
- A->Save (D, aProgress);
+ A->Save (D, aProgress->Start());
return 0;
}
di << "DDocStd_Save : Error\n";
{
std::ofstream aFileStream;
OSD_OpenStream (aFileStream, path, std::ios::out | std::ios::binary);
- theStatus = A->SaveAs (D, aFileStream, aProgress);
+ theStatus = A->SaveAs (D, aFileStream, aProgress->Start());
}
else
{
- theStatus = A->SaveAs(D,path, aProgress);
+ theStatus = A->SaveAs(D,path, aProgress->Start());
}
if (theStatus != PCDM_SS_OK ) {