From 9a4f13fbe629f513a5e15ac95eb8a733014970c4 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 6 Mar 2008 14:21:32 +0000 Subject: [PATCH] Fix pb with standard libraries --- src/VTKViewer/VTKViewer_ViewWindow.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2