From: vsr Date: Thu, 6 Mar 2008 14:21:32 +0000 (+0000) Subject: Fix pb with standard libraries X-Git-Tag: V5_0_0a1~31 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9a4f13fbe629f513a5e15ac95eb8a733014970c4;p=modules%2Fgui.git Fix pb with standard libraries --- diff --git a/src/VTKViewer/VTKViewer_ViewWindow.cxx b/src/VTKViewer/VTKViewer_ViewWindow.cxx index ead79fd57..6f462e3e2 100755 --- a/src/VTKViewer/VTKViewer_ViewWindow.cxx +++ b/src/VTKViewer/VTKViewer_ViewWindow.cxx @@ -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;