From: maintenance team Date: Tue, 19 Feb 2008 08:15:08 +0000 (+0000) Subject: Providing portability with CAS-6.2.1sp1 X-Git-Tag: V4_1_1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cef7eecccfc0a69e1a7cc64459659c8b2caa91b9;p=modules%2Fgui.git Providing portability with CAS-6.2.1sp1 --- diff --git a/src/VTKViewer/VTKViewer_ViewWindow.cxx b/src/VTKViewer/VTKViewer_ViewWindow.cxx index 0e1ab38bb..e885ed8cc 100755 --- a/src/VTKViewer/VTKViewer_ViewWindow.cxx +++ b/src/VTKViewer/VTKViewer_ViewWindow.cxx @@ -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;