diff framework/Document.cpp @ 171:b5b4af911c98

* A few minor fixes to SliceLayer based on using it for slices of key plots
author Chris Cannam
date Fri, 05 Jun 2009 16:08:18 +0000
parents 0bd09fb9e584
children fe83e6e68683
line wrap: on
line diff
--- a/framework/Document.cpp	Fri Mar 27 16:25:52 2009 +0000
+++ b/framework/Document.cpp	Fri Jun 05 16:08:18 2009 +0000
@@ -1026,8 +1026,10 @@
 QString
 Document::RemoveLayerCommand::getName() const
 {
+#ifdef DEBUG_DOCUMENT
     std::cerr << "Document::RemoveLayerCommand::getName(): Name is "
               << m_name.toStdString() << std::endl;
+#endif
     return m_name;
 }