Index: /trunk/FACT++/src/fitsloader.cc
===================================================================
--- /trunk/FACT++/src/fitsloader.cc	(revision 10883)
+++ /trunk/FACT++/src/fitsloader.cc	(revision 10884)
@@ -132,8 +132,8 @@
 int FitsLoader::SetFileOutPlease(const Event& evt)
 {
-    fFileOut = string(evt.GetText());
-    stringstream str;
+    fFileOut = evt.GetText();
+    ostringstream str;
     str << "Output file is now " << fFileOut;
-    Message(str.str());
+    Message(str);
     return 0;
 }
@@ -147,7 +147,7 @@
 {
     fStreamPrecision = evt.GetInt();
-    stringstream str;
-    str << "OFStream precision is now " << fStreamPrecision;
-    Message(str.str());
+    ostringstream str;
+    str << "ofstream precision is now " << fStreamPrecision;
+    Message(str);
     return 0;
 }
@@ -347,7 +347,7 @@
         if (it->first != checkIndex)
         {
-            stringstream str;
+            ostringstream str;
             str << "Expected index " << checkIndex << " found " << it->first;
-            Error(str.str());
+            Error(str);
         }
         checkIndex++;
@@ -440,5 +440,5 @@
         for (std::multimap<string, CCfits::ExtHDU*>::const_iterator it=extMap.begin(); it != extMap.end(); it++)
             str << it->first << " ";
-        Error(str.str());
+        Error(str);
         return kSM_Ready;
     }
@@ -448,5 +448,5 @@
     str.str("");
     str << "Loaded table has " << numRows << " rows";
-    Message(str.str());
+    Message(str);
 
     fColMap = fTable->column();
@@ -541,11 +541,11 @@
         if (status)
         {
-            stringstream str;
+            ostringstream str;
             str << "An error occurred while reading fits row #" << i << " error code: " << status;
-            Error(str.str());
+            Error(str);
             str.str("");
             for (unsigned int j=0;j<offsets.size(); j++)
                 str << offsets[j] << " ";
-            Error(str.str());
+            Error(str);
         }
         writeValuesFromFits(offsets, targetFile, fitsBuffer);
@@ -588,20 +588,20 @@
     if (conf.Has("outfile"))
     {
-        this->fFileOut = conf.Get<string>("outfile");
+        fFileOut = conf.Get<string>("outfile");
         Message("Output file is: " + fFileOut);
     }
     if (conf.Has("fitsfile"))
     {
-        this->fFileName = conf.Get<string>("fitsfile");
+        fFileName = conf.Get<string>("fitsfile");
         Message("Input fits is: " + fFileName);
     }
     if (conf.Has("tablename"))
     {
-        this->fTableName = conf.Get<string>("tablename");
+        fTableName = conf.Get<string>("tablename");
         Message("Input Table is: " + fTableName);
     }
     if (conf.Has("dump"))
     {
-        this->fDumpList = conf.Get<vector<string>>("dump");
+        fDumpList = conf.Get<vector<string>>("dump");
         Message("Dump list is:");
         for (vector<string>::iterator it=fDumpList.begin(); it != fDumpList.end(); it++)
@@ -610,8 +610,9 @@
     if (conf.Has("precision"))
     {
-        this->fStreamPrecision = conf.Get<int>("precision");
-        stringstream str;
+        fStreamPrecision = conf.Get<int>("precision");
+
+        ostringstream str;
         str << "OFStream precision is: " << fStreamPrecision;
-        Message(str.str());
+        Message(str);
     }
 }
