0027900: Coding rules - drop redundant Name parameter from V3d_Viewer constructor
[occt.git] / samples / mfc / standard / 10_Convert / src / WNT / OCCDemoDoc.cpp
index 6f1b1fd..4a22355 100755 (executable)
@@ -46,10 +46,10 @@ COCCDemoDoc::COCCDemoDoc()
        Handle(Graphic3d_GraphicDriver) aGraphicDriver = 
                ((COCCDemoApp*)AfxGetApp())->GetGraphicDriver();
 
-       myViewer = new V3d_Viewer(aGraphicDriver, (Standard_ExtString )"Visu3D");
+       myViewer = new V3d_Viewer(aGraphicDriver);
        myViewer->SetDefaultLights();
        myViewer->SetLightOn();
-  myViewer->SetDefaultBackgroundColor(Quantity_TOC_RGB, 0.,0.,0.);
+  myViewer->SetDefaultBackgroundColor (Quantity_NOC_BLACK);
 
        myAISContext = new AIS_InteractiveContext(myViewer);
   myShowResult = FALSE;