0028990: Coding Rules - deprecate redundant class Prs3d_Root
[occt.git] / src / StdPrs / StdPrs_ShadedShape.cxx
index ca30cd5..bc4cfec 100644 (file)
@@ -297,7 +297,7 @@ namespace
       return Standard_False;
     }
 
-    Handle(Graphic3d_Group) aGroup = Prs3d_Root::NewGroup (thePrs);
+    Handle(Graphic3d_Group) aGroup = thePrs->NewGroup();
     aGroup->SetClosed (theIsClosed);
     aGroup->SetGroupPrimitivesAspect (theDrawer->ShadingAspect()->Aspect());
     aGroup->AddPrimitiveArray (aPArray);