0028990: Coding Rules - deprecate redundant class Prs3d_Root
[occt.git] / src / StdPrs / StdPrs_HLRPolyShape.cxx
index 9fc6a82..116b34a 100644 (file)
@@ -59,7 +59,7 @@ void StdPrs_HLRPolyShape::ComputeHLR (const Handle(Prs3d_Presentation)& aPresent
   aTrsf.SetTransformation (anAx3);
   const HLRAlgo_Projector aProj (aTrsf, !theProjector->IsOrthographic(), theProjector->Scale());
 
-  Handle(Graphic3d_Group) aGroup = Prs3d_Root::CurrentGroup(aPresentation);
+  Handle(Graphic3d_Group) aGroup = aPresentation->CurrentGroup();
 
   TopExp_Explorer ex;