]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix pb with standard libraries
authorvsr <vsr@opencascade.com>
Thu, 6 Mar 2008 14:21:32 +0000 (14:21 +0000)
committervsr <vsr@opencascade.com>
Thu, 6 Mar 2008 14:21:32 +0000 (14:21 +0000)
src/VTKViewer/VTKViewer_ViewWindow.cxx

index ead79fd574a3e31e095211b8eb8b298d28314559..6f462e3e24fad54b5a6f7e8ac713ecc93836c458 100755 (executable)
@@ -456,8 +456,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 = qMax((bnd[3]-bnd[2]),aLength);
+      aLength = qMax((bnd[5]-bnd[4]),aLength);
     }
    
     static vtkFloatingPointType aSizeInPercents = 105;