comparison data/model/Model.cpp @ 511:7207e3eba44f sv-v1.4rc1

* Ensure SimpleSPARQLQuery stores an error string properly when query fails -- so (apart from anything else) RDFImporter::identifyDocumentType returns a sensible result for non-RDF
author Chris Cannam
date Mon, 08 Dec 2008 15:08:39 +0000
parents af7b6e55895b
children b4a8d8221eaf
comparison
equal deleted inserted replaced
510:af7b6e55895b 511:7207e3eba44f
57 } 57 }
58 58
59 void 59 void
60 Model::aboutToDelete() 60 Model::aboutToDelete()
61 { 61 {
62 std::cerr << "Model(" << this << ")::aboutToDelete()" << std::endl; 62 // std::cerr << "Model(" << this << ")::aboutToDelete()" << std::endl;
63 63
64 if (m_aboutToDelete) { 64 if (m_aboutToDelete) {
65 std::cerr << "WARNING: Model(" << this << ", \"" 65 std::cerr << "WARNING: Model(" << this << ", \""
66 << objectName().toStdString() << "\")::aboutToDelete: " 66 << objectName().toStdString() << "\")::aboutToDelete: "
67 << "aboutToDelete called more than once for the same model" 67 << "aboutToDelete called more than once for the same model"