Index: trunk/MagicSoft/Mars/mreport/MReportCC.cc
===================================================================
--- trunk/MagicSoft/Mars/mreport/MReportCC.cc	(revision 8962)
+++ trunk/MagicSoft/Mars/mreport/MReportCC.cc	(revision 8963)
@@ -77,8 +77,4 @@
         return kFALSE;
 
-    fRecTime = (MTime*)plist.FindCreateObj("MTime", "MTimeRec");
-    if (!fRecTime)
-        return kFALSE;
-
 
     fTH = (MCameraTH*)plist.FindCreateObj("MCameraTH");
@@ -147,5 +143,5 @@
     {
         fRecRep->InterpreteRec(str, ver, *fTH, *fTD, *fRecTemp);
-        fRecRep->Copy(*this);
+        Copy(*fRecRep);
         fRecRep->SetReadyToSave();
     }
Index: trunk/MagicSoft/Mars/mreport/MReportCC.h
===================================================================
--- trunk/MagicSoft/Mars/mreport/MReportCC.h	(revision 8962)
+++ trunk/MagicSoft/Mars/mreport/MReportCC.h	(revision 8963)
@@ -27,5 +27,4 @@
 
     MReportRec     *fRecRep;  //! Pipe interpretation to MReportRec if necessary
-    MTime          *fRecTime; //! Time stamp for Receiver part of reports
 
     // Internal
Index: trunk/MagicSoft/Mars/mreport/MReportFileRead.cc
===================================================================
--- trunk/MagicSoft/Mars/mreport/MReportFileRead.cc	(revision 8962)
+++ trunk/MagicSoft/Mars/mreport/MReportFileRead.cc	(revision 8963)
@@ -68,4 +68,5 @@
 
     fIn = new ifstream;
+
     fList = new THashTable(1,1);
     fList->SetOwner();
@@ -89,5 +90,5 @@
 MReportHelp *MReportFileRead::GetReportHelp(const TString &str) const
 {
-    return (MReportHelp*)fList->FindObject(str);
+    return static_cast<MReportHelp*>(fList->FindObject(str));
 }
 
@@ -143,9 +144,11 @@
 Int_t MReportFileRead::PreProcess(MParList *pList)
 {
-    //MTime *time = (MTime*)pList->FindCreateObj("MTime");
-    //if (!time)
-    //    return kFALSE;
     fNumLine = 0;
 
+    // Add the MReport instances first to the paramter list
+    // so that SetupReading can find them if needed
+    fList->R__FOR_EACH(MReportHelp, AddToList)(*pList);
+
+    // Setup reading
     TIter Next(fList);
     MReportHelp *help=0;
@@ -153,6 +156,4 @@
         if (!help->SetupReading(*pList))
             return kFALSE;
-
-    fList->R__FOR_EACH(MReportHelp, AddToList)(*pList);
 
     //
Index: trunk/MagicSoft/Mars/mreport/MReportFileRead.h
===================================================================
--- trunk/MagicSoft/Mars/mreport/MReportFileRead.h	(revision 8962)
+++ trunk/MagicSoft/Mars/mreport/MReportFileRead.h	(revision 8963)
@@ -8,9 +8,4 @@
 #include "MTime.h"
 #endif
-
-/*// gcc 3.2
-//class ifstream;
-#include <iosfwd>
-*/
 
 class THashTable;
