changeset 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 d71dccaa576c
children f6a8fc35df93
files framework/Document.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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;
 }