X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FQABugs%2FQABugs_11.cxx;h=a7099d56810872630a099bc5bbf705578c7e5e60;hp=55e5f353571152b1a920c6c3b8be17fe3db9e52a;hb=0717ddc13291e099f92171b66858fb6718bb2ca8;hpb=d5f74e42d6160fc451ef4e464a93a0de9b384adc diff --git a/src/QABugs/QABugs_11.cxx b/src/QABugs/QABugs_11.cxx index 55e5f35357..a7099d5681 100644 --- a/src/QABugs/QABugs_11.cxx +++ b/src/QABugs/QABugs_11.cxx @@ -1348,7 +1348,7 @@ static Standard_Integer OCC369(Draw_Interpretor& di, Standard_Integer argc, cons if(aShape.IsNull()) {di << "OCC369 FAULTY. Entry shape is NULL \n"; return 0;} // 3. Build mesh - BRepMesh_IncrementalMesh aMesh(aShape, 0.2, Standard_True, M_PI/6); + BRepMesh_IncrementalMesh aMesh(aShape, 0.2, Standard_True, M_PI / 6); } catch (Standard_Failure) {di << "OCC369 Exception \n" ;return 0;} @@ -1675,7 +1675,7 @@ static Standard_Integer OCC708 (Draw_Interpretor& di, Standard_Integer argc, con di << argv[1] << " : No interactive object" << "\n"; return 1; } - AISObj->UnsetTransformation(); + AISObj->ResetTransformation(); if (!aContext->HasOpenedContext()) { aContext->OpenLocalContext(); } @@ -2136,7 +2136,7 @@ TopoDS_Shape OCC1077_boolbl(BRepAlgoAPI_BooleanOperation& aBoolenaOperation,cons TopoDS_Shape ShapeCut = aBoolenaOperation.Shape(); //#ifdef OCC40 -// Handle_TopOpeBRepBuild_HBuilder build = aBoolenaOperation.Builder(); +// Handle(TopOpeBRepBuild_HBuilder) build = aBoolenaOperation.Builder(); //#endif TopTools_ListIteratorOfListOfShape its; @@ -2202,7 +2202,7 @@ TopoDS_Shape OCC1077_Bug() TopoDS_Shape theCylinder3 = BRepPrimAPI_MakeCylinder(gp_Ax2(gp_Pnt(0, - 10, 0), gp_Dir(0, 1, 0)), 3, 20).Shape(); TopoDS_Shape theTmp1 = OCC1077_cut_blend(theCommon,theCylinder1,0.7); - Handle_ShapeFix_Shape fixer = new ShapeFix_Shape(theTmp1); + Handle(ShapeFix_Shape) fixer = new ShapeFix_Shape(theTmp1); fixer->Perform(); theTmp1 = fixer->Shape(); TopoDS_Shape theTmp2 = OCC1077_cut_blend(theTmp1,theCylinder2,0.7); @@ -2482,7 +2482,7 @@ static Standard_Integer OCC6143 (Draw_Interpretor& di, Standard_Integer argc, co Standard_Real res, r=RealLast(); res = r * r; - sin(1.); //this function tests FPU flags and raises signal (tested on LINUX). + (void)sin(1.); //this function tests FPU flags and raises signal (tested on LINUX). di << "-- "<Main()); shapeTool->AddShape(AddTestStructure(nCount), Standard_True); STEPControl_StepModelType mode = STEPControl_AsIs; @@ -3194,7 +3194,7 @@ Standard_Integer OCC14376(Draw_Interpretor& di, Standard_Integer argc, const cha } di<<"deflection="<< aDeflection << "\n"; - BRepMesh_IncrementalMesh aIMesh(aShape, aDeflection, Standard_False, M_PI/9.); + BRepMesh_IncrementalMesh aIMesh(aShape, aDeflection, Standard_False, M_PI / 9.); TopLoc_Location aLocation; Handle(Poly_Triangulation) aTriang = BRep_Tool::Triangulation(TopoDS::Face(aShape), aLocation);