//
// This file is part of Open CASCADE Technology software library.
//
-// This library is free software; you can redistribute it and / or modify it
-// under the terms of the GNU Lesser General Public version 2.1 as published
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
void TDocStd_MultiTransactionManager::OpenCommand() {
if (myOpenTransaction) {
-#ifdef DEB
+#ifdef OCCT_DEBUG
cout << "TDocStd_MultiTransactionManager::OpenCommand(): "
"Can't start new application transaction while a "
"previous one is not commited or aborted" << endl;
anOS << "There are " << myDocuments.Length() << " documents ( ";
for(i = 1; i <= myDocuments.Length(); i++) {
Handle(Standard_Transient) aDoc = myDocuments.Value(i);
- anOS << "\"" << (Standard_Transient*)aDoc;
+ anOS << "\"" << aDoc.get();
anOS << "\" ";
}
anOS << ") in the manager " << endl;