Index: trunk/MagicSoft/Mars/mhbase/MBinning.cc
===================================================================
--- trunk/MagicSoft/Mars/mhbase/MBinning.cc	(revision 7749)
+++ trunk/MagicSoft/Mars/mhbase/MBinning.cc	(revision 7804)
@@ -556,5 +556,5 @@
 // gui elements to a macro-file.
 //
-void MBinning::StreamPrimitive(ofstream &out) const
+void MBinning::StreamPrimitive(ostream &out) const
 {
     out << "   MBinning " << GetUniqueName();
Index: trunk/MagicSoft/Mars/mhbase/MBinning.h
===================================================================
--- trunk/MagicSoft/Mars/mhbase/MBinning.h	(revision 7749)
+++ trunk/MagicSoft/Mars/mhbase/MBinning.h	(revision 7804)
@@ -27,5 +27,5 @@
     Byte_t  fType;
 
-    void StreamPrimitive(ofstream &out) const;
+    void StreamPrimitive(ostream &out) const;
 
     enum {
Index: trunk/MagicSoft/Mars/mhbase/MFillH.cc
===================================================================
--- trunk/MagicSoft/Mars/mhbase/MFillH.cc	(revision 7749)
+++ trunk/MagicSoft/Mars/mhbase/MFillH.cc	(revision 7804)
@@ -609,5 +609,5 @@
 // gui elements to a macro-file.
 //
-void MFillH::StreamPrimitive(ofstream &out) const
+void MFillH::StreamPrimitive(ostream &out) const
 {
     if (fH)
Index: trunk/MagicSoft/Mars/mhbase/MFillH.h
===================================================================
--- trunk/MagicSoft/Mars/mhbase/MFillH.h	(revision 7749)
+++ trunk/MagicSoft/Mars/mhbase/MFillH.h	(revision 7804)
@@ -45,5 +45,5 @@
     void Init(const char *name, const char *title);
 
-    void StreamPrimitive(ofstream &out) const;
+    void StreamPrimitive(ostream &out) const;
 
     Bool_t DrawToDisplay();
Index: trunk/MagicSoft/Mars/mhbase/MH3.cc
===================================================================
--- trunk/MagicSoft/Mars/mhbase/MH3.cc	(revision 7749)
+++ trunk/MagicSoft/Mars/mhbase/MH3.cc	(revision 7804)
@@ -630,5 +630,5 @@
 // gui elements to a macro-file.
 //
-void MH3::StreamPrimitive(ofstream &out) const
+void MH3::StreamPrimitive(ostream &out) const
 {
     TString name = GetUniqueName();
Index: trunk/MagicSoft/Mars/mhbase/MH3.h
===================================================================
--- trunk/MagicSoft/Mars/mhbase/MH3.h	(revision 7749)
+++ trunk/MagicSoft/Mars/mhbase/MH3.h	(revision 7804)
@@ -26,5 +26,5 @@
     Double_t    fScale[3];       // Scale for the three axis (eg unit)
 
-    void StreamPrimitive(ofstream &out) const;
+    void StreamPrimitive(ostream &out) const;
 
     enum {
Index: trunk/MagicSoft/Mars/mhbase/MHMatrix.cc
===================================================================
--- trunk/MagicSoft/Mars/mhbase/MHMatrix.cc	(revision 7749)
+++ trunk/MagicSoft/Mars/mhbase/MHMatrix.cc	(revision 7804)
@@ -586,5 +586,5 @@
 // gui elements to a macro-file.
 //
-void MHMatrix::StreamPrimitive(ofstream &out) const
+void MHMatrix::StreamPrimitive(ostream &out) const
 {
     Bool_t data = fData && !TestBit(kIsOwner);
Index: trunk/MagicSoft/Mars/mhbase/MHMatrix.h
===================================================================
--- trunk/MagicSoft/Mars/mhbase/MHMatrix.h	(revision 7749)
+++ trunk/MagicSoft/Mars/mhbase/MHMatrix.h	(revision 7804)
@@ -61,5 +61,5 @@
     void GetRandomArrayI(TArrayI &ind) const;
 
-    void StreamPrimitive(ofstream &out) const;
+    void StreamPrimitive(ostream &out) const;
 
 public:
