Mercurial > hg > svgui
diff layer/LayerFactory.cpp @ 682:1a0dfcbffaf1
Drop std:: from cout, cerr, endl -- pull these in through Debug.h
author | Chris Cannam |
---|---|
date | Tue, 26 Nov 2013 14:06:40 +0000 |
parents | 4806715f7a19 |
children | 692a8b9804fe |
line wrap: on
line diff
--- a/layer/LayerFactory.cpp Tue Nov 26 11:16:45 2013 +0000 +++ b/layer/LayerFactory.cpp Tue Nov 26 14:06:40 2013 +0000 @@ -464,7 +464,7 @@ QString defaults = settings.value(getLayerTypeName(type), "").toString(); if (defaults == "") return; -// std::cerr << "defaults=\"" << defaults << "\"" << std::endl; +// cerr << "defaults=\"" << defaults << "\"" << endl; QString xml = layer->toXmlString(); QDomDocument docOld, docNew; @@ -480,9 +480,9 @@ for (unsigned int i = 0; i < attrNodes.length(); ++i) { QDomAttr attr = attrNodes.item(i).toAttr(); if (attr.isNull()) continue; -// std::cerr << "append \"" << attr.name().toStdString() +// cerr << "append \"" << attr.name().toStdString() // << "\" -> \"" << attr.value() << "\"" -// << std::endl; +// << endl; attrs.append(attr.name(), "", "", attr.value()); } @@ -492,9 +492,9 @@ QDomAttr attr = attrNodes.item(i).toAttr(); if (attr.isNull()) continue; if (attrs.value(attr.name()) == "") { -// std::cerr << "append \"" << attr.name().toStdString() +// cerr << "append \"" << attr.name().toStdString() // << "\" -> \"" << attr.value() << "\"" -// << std::endl; +// << endl; attrs.append(attr.name(), "", "", attr.value()); } }