diff data/model/SparseValueModel.h @ 318:7a4bd2c8585c

* Some export fixes, and avoid clipping on resampling on import
author Chris Cannam
date Mon, 22 Oct 2007 09:45:35 +0000
parents 70a232b1f12a
children 700cd3350391
line wrap: on
line diff
--- a/data/model/SparseValueModel.h	Thu Oct 18 16:20:26 2007 +0000
+++ b/data/model/SparseValueModel.h	Mon Oct 22 09:45:35 2007 +0000
@@ -110,11 +110,16 @@
 	}
     }
 
-    virtual void toXml(QTextStream &stream, QString indent = "",
+    virtual void toXml(QTextStream &stream,
+                       QString indent = "",
                        QString extraAttributes = "") const
     {
+        std::cerr << "SparseValueModel::toXml: extraAttributes = \"" 
+                  << extraAttributes.toStdString() << std::endl;
+
 	SparseModel<PointType>::toXml
-	    (stream, indent,
+	    (stream,
+             indent,
 	     QString("%1 minimum=\"%2\" maximum=\"%3\" units=\"%4\"")
 	     .arg(extraAttributes).arg(m_valueMinimum).arg(m_valueMaximum)
              .arg(this->encodeEntities(m_units)));