Index: trunk/MagicSoft/Mars/mpointing/MSrcPosCam.cc
===================================================================
--- trunk/MagicSoft/Mars/mpointing/MSrcPosCam.cc	(revision 7744)
+++ trunk/MagicSoft/Mars/mpointing/MSrcPosCam.cc	(revision 7804)
@@ -136,5 +136,5 @@
 // gui elements to a macro-file.
 //
-void MSrcPosCam::StreamPrimitive(ofstream &out) const
+void MSrcPosCam::StreamPrimitive(ostream &out) const
 {
     out << "   MSrcPosCam " << GetUniqueName();
@@ -148,3 +148,4 @@
     out << ";" << endl;
 
-    out << "   " << GetUniqueName() << ".SetXY(" << fX << ", " << fY << ");" << endl;}
+    out << "   " << GetUniqueName() << ".SetXY(" << fX << ", " << fY << ");" << endl;
+}
Index: trunk/MagicSoft/Mars/mpointing/MSrcPosCam.h
===================================================================
--- trunk/MagicSoft/Mars/mpointing/MSrcPosCam.h	(revision 7744)
+++ trunk/MagicSoft/Mars/mpointing/MSrcPosCam.h	(revision 7804)
@@ -31,7 +31,7 @@
     TVector2 GetXY() const;
 
+    void Print(Option_t *opt=NULL) const;
 
-    void Print(Option_t *opt=NULL) const;
-    void StreamPrimitive(ofstream &out) const;
+    void StreamPrimitive(ostream &out) const;
 
     //void AsciiRead(ifstream &fin);
