0031918: Application Framework - New binary format for fast reading part of OCAF...
[occt.git] / src / XmlLDrivers / XmlLDrivers_DocumentRetrievalDriver.cxx
index fab9c6d..b554232 100644 (file)
@@ -169,6 +169,7 @@ void XmlLDrivers_DocumentRetrievalDriver::Read
                                           (const TCollection_ExtendedString& theFileName,
                                            const Handle(CDM_Document)&       theNewDocument,
                                            const Handle(CDM_Application)&    theApplication,
+                                           const Handle(PCDM_ReaderFilter)&  theFilter,
                                            const Message_ProgressRange&      theRange)
 {
   myReaderStatus = PCDM_RS_DriverFailure;
@@ -179,7 +180,7 @@ void XmlLDrivers_DocumentRetrievalDriver::Read
 
   if (aFileStream.is_open() && aFileStream.good())
   {
-    Read (aFileStream, NULL, theNewDocument, theApplication, theRange);
+    Read (aFileStream, NULL, theNewDocument, theApplication, theFilter, theRange);
   }
   else
   {
@@ -201,6 +202,7 @@ void XmlLDrivers_DocumentRetrievalDriver::Read (Standard_IStream&              t
                                                 const Handle(Storage_Data)&    /*theStorageData*/,
                                                 const Handle(CDM_Document)&    theNewDocument,
                                                 const Handle(CDM_Application)& theApplication,
+                                                const Handle(PCDM_ReaderFilter)& /*theFilter*/,
                                                 const Message_ProgressRange&   theRange)
 {
   Handle(Message_Messenger) aMessageDriver = theApplication -> MessageDriver();