0031501: Foundation Classes, Message_Printer - remove theToPutEndl argument -- prepar...
[occt.git] / src / IGESAppli / IGESAppli_ToolRegionRestriction.cxx
index e6197b8..549544b 100644 (file)
@@ -126,14 +126,14 @@ void  IGESAppli_ToolRegionRestriction::OwnCheck
 
 void  IGESAppli_ToolRegionRestriction::OwnDump
   (const Handle(IGESAppli_RegionRestriction)& ent, const IGESData_IGESDumper& /*dumper*/,
-   const Handle(Message_Messenger)& S, const Standard_Integer /*level*/) const
+   Standard_OStream& S, const Standard_Integer /*level*/) const
 {
-  S << "IGESAppli_RegionRestriction" << Message_EndLine;
-  S << "Number of property values : " << ent->NbPropertyValues() << Message_EndLine;
-  S << "Electrical vias restriction       : "
-    << ent->ElectricalViasRestriction() << Message_EndLine;
-  S << "Electrical components restriction : "
-    << ent->ElectricalComponentRestriction() << Message_EndLine;
-  S << "Electrical circuitary restriction : "
-    << ent->ElectricalCktRestriction()  << Message_EndLine;
+  S << "IGESAppli_RegionRestriction\n"
+    << "Number of property values : " << ent->NbPropertyValues() << "\n"
+    << "Electrical vias restriction       : "
+    << ent->ElectricalViasRestriction() << "\n"
+    << "Electrical components restriction : "
+    << ent->ElectricalComponentRestriction() << "\n"
+    << "Electrical circuitary restriction : "
+    << ent->ElectricalCktRestriction()  << std::endl;
 }