]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Providing portability with CAS-6.2.1sp1
authormaintenance team <salome-mnt@opencascade.com>
Tue, 19 Feb 2008 08:15:08 +0000 (08:15 +0000)
committermaintenance team <salome-mnt@opencascade.com>
Tue, 19 Feb 2008 08:15:08 +0000 (08:15 +0000)
src/VTKViewer/VTKViewer_ViewWindow.cxx

index 0e1ab38bb3dda6309508810d634f09086bd31211..e885ed8ccf16b4de302a36a6bde6ec5312d47d93 100755 (executable)
@@ -455,8 +455,8 @@ void VTKViewer_ViewWindow::onAdjustTrihedron(){
                      (bnd[5]-bnd[4])*(bnd[5]-bnd[4]));
     }else{
       aLength = bnd[1]-bnd[0];
-      aLength = max((bnd[3]-bnd[2]),aLength);
-      aLength = max((bnd[5]-bnd[4]),aLength);
+      aLength = std::max((bnd[3]-bnd[2]),aLength);
+      aLength = std::max((bnd[5]-bnd[4]),aLength);
     }
    
     static vtkFloatingPointType aSizeInPercents = 105;