0027900: Coding rules - drop redundant Name parameter from V3d_Viewer constructor
[occt.git] / samples / mfc / standard / 09_Animation / src / AnimationDoc.cpp
index 2f2e278..5381c7b 100755 (executable)
@@ -52,12 +52,7 @@ CAnimationDoc::CAnimationDoc()
        Handle(Graphic3d_GraphicDriver) aGraphicDriver = 
                ((CAnimationApp*)AfxGetApp())->GetGraphicDriver();
 
-    TCollection_ExtendedString a3DName("Visu3D");
-       myViewer = new V3d_Viewer(aGraphicDriver,a3DName.ToExtString(),"", 1000.0, 
-                              V3d_XposYnegZpos, Quantity_NOC_GRAY30,
-                              V3d_ZBUFFER,V3d_GOURAUD,V3d_WAIT, 
-                              Standard_True, Standard_False);
-
+       myViewer = new V3d_Viewer(aGraphicDriver);
        myViewer->SetDefaultLights();
        myViewer->SetLightOn();