0031353: TDocStd_Application does not have api to set progress indicator
[occt.git] / src / XmlDrivers / XmlDrivers_DocumentStorageDriver.cxx
index 5cbcd1c..c1d8df3 100644 (file)
@@ -51,7 +51,8 @@ Handle(XmlMDF_ADriverTable) XmlDrivers_DocumentStorageDriver::AttributeDrivers
 //purpose  : Implements WriteShapeSection
 //=======================================================================
 Standard_Boolean XmlDrivers_DocumentStorageDriver::WriteShapeSection
-                                         (XmlObjMgt_Element&  theElement)
+                                         (XmlObjMgt_Element&  theElement,
+                                          const Handle(Message_ProgressIndicator)& theProgress)
 {
   Standard_Boolean isShape(Standard_False);
   Handle(XmlMDF_ADriver) aDriver;
@@ -59,7 +60,7 @@ Standard_Boolean XmlDrivers_DocumentStorageDriver::WriteShapeSection
   {
     Handle(XmlMNaming_NamedShapeDriver) aNamedShapeDriver = 
       Handle(XmlMNaming_NamedShapeDriver)::DownCast (aDriver);
-    aNamedShapeDriver -> WriteShapeSection (theElement); 
+    aNamedShapeDriver->WriteShapeSection (theElement, theProgress);
     isShape = Standard_True;
   }
   return isShape;