0025266: Debug statements in the source are getting flushed on to the console
[occt.git] / src / XmlDrivers / XmlDrivers.cxx
index 0eb08b5..c4ef96c 100644 (file)
@@ -44,7 +44,9 @@ Handle(Standard_Transient) XmlDrivers::Factory(const Standard_GUID& theGUID)
 {
   if (theGUID == XmlStorageDriver)
   {
+#ifdef XMLDRIVERS_DEB
     cout << "XmlDrivers : Storage Plugin" << endl;
+#endif
     static Handle(XmlDrivers_DocumentStorageDriver) model_sd =
       new XmlDrivers_DocumentStorageDriver
         ("Copyright: Open Cascade, 2001-2002"); // default copyright
@@ -53,7 +55,9 @@ Handle(Standard_Transient) XmlDrivers::Factory(const Standard_GUID& theGUID)
 
   if (theGUID == XmlRetrievalDriver)
   {
+#ifdef XMLDRIVERS_DEB
     cout << "XmlDrivers : Retrieval Plugin" << endl;
+#endif
     static Handle (XmlDrivers_DocumentRetrievalDriver) model_rd =
       new XmlDrivers_DocumentRetrievalDriver ();
     return model_rd;