removed references to OCC<7

This commit is contained in:
andrea
2022-06-25 10:26:24 +02:00
committed by Uwe
parent d5340a82ab
commit c66aadeb60
46 changed files with 49 additions and 714 deletions

View File

@@ -43,9 +43,7 @@
# include <gp_GTrsf.hxx>
# include <gp_Trsf.hxx>
#if OCC_VERSION_HEX >= 0x060800
# include <OSD_OpenFile.hxx>
#endif
#endif // _PreComp_
@@ -248,11 +246,8 @@ void PropertyPartShape::Restore(Base::XMLReader &reader)
static Standard_Boolean BRepTools_Write(const TopoDS_Shape& Sh, const Standard_CString File)
{
std::ofstream os;
#if OCC_VERSION_HEX >= 0x060800
OSD_OpenStream(os, File, std::ios::out);
#else
os.open(File, std::ios::out);
#endif
if (!os.rdbuf()->is_open())
return Standard_False;