0025418: Debug output to be limited to OCC development environment
[occt.git] / src / IGESControl / IGESControl_Writer.cxx
index 58fbfbd..8f8caf1 100644 (file)
@@ -245,7 +245,7 @@ Standard_Boolean IGESControl_Writer::Write
   if (!S) return Standard_False;
   ComputeModel();
   Standard_Integer nbEnt = themod->NbEntities();
-#ifdef IGESCONTROL_DEB
+#ifdef OCCT_DEBUG
   cout<<" IGES Write : "<<nbEnt<<" ent.s"<< flush;
 #endif
   if(!nbEnt)
@@ -253,12 +253,12 @@ Standard_Boolean IGESControl_Writer::Write
   IGESData_IGESWriter IW (themod);
 //  ne pas oublier le mode fnes ... a transmettre a IW
   IW.SendModel (IGESSelect_WorkLibrary::DefineProtocol());
-#ifdef IGESCONTROL_DEB
+#ifdef OCCT_DEBUG
   cout<<" ...  ecriture  ..."<<flush;
 #endif
   if (fnes) IW.WriteMode() = 10;
   Standard_Boolean status = IW.Print(S);
-#ifdef IGESCONTROL_DEB
+#ifdef OCCT_DEBUG
   cout<<" ...  fichier ecrit  ..."<<endl;
 #endif
   return status;
@@ -269,7 +269,7 @@ Standard_Boolean IGESControl_Writer::Write
 {
   ofstream fout(file,ios::out);
   if (!fout) return Standard_False;
-#ifdef IGESCONTROL_DEB
+#ifdef OCCT_DEBUG
   cout<<" Ecriture fichier ("<< (fnes ? "fnes" : "IGES") <<"): "<<file<<endl;
 #endif
   Standard_Boolean res = Write (fout,fnes);