# HG changeset patch # User Chris Cannam # Date 1244218098 0 # Node ID b5b4af911c9899278e636446e6dc8125b27e3c49 # Parent d71dccaa576cb8dd4c93502a6c8ca79f33328dd4 * A few minor fixes to SliceLayer based on using it for slices of key plots diff -r d71dccaa576c -r b5b4af911c98 framework/Document.cpp --- 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; }