From: stv Date: Tue, 21 Feb 2006 14:59:02 +0000 (+0000) Subject: Updated SALOME GUI sources for building under Ms Visual .NET on Windows platform. X-Git-Tag: LAST_STABLE_VERSION_21_09_2006_ON_3_2_0~102 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2dcd0de3f973a2c9c80bfb2aaf7254c9353520ae;p=modules%2Fgui.git Updated SALOME GUI sources for building under Ms Visual .NET on Windows platform. --- diff --git a/src/VTKViewer/VTKViewer_ShrinkFilter.cxx b/src/VTKViewer/VTKViewer_ShrinkFilter.cxx index c65699a9a..b2825687a 100755 --- a/src/VTKViewer/VTKViewer_ShrinkFilter.cxx +++ b/src/VTKViewer/VTKViewer_ShrinkFilter.cxx @@ -166,7 +166,9 @@ void VTKViewer_ShrinkFilter::SetStoreMapping(int theStoreMapping){ /*!Return node object id by vtk node id. *\retval -1 - if no object, else return id. */ -vtkIdType VTKViewer_ShrinkFilter::GetNodeObjId(int theVtkID){ - if(myVTK2ObjIds.empty() || theVtkID > myVTK2ObjIds.size()) return -1; +vtkIdType VTKViewer_ShrinkFilter::GetNodeObjId(int theVtkID) +{ + if ( myVTK2ObjIds.empty() || theVtkID > (int)myVTK2ObjIds.size() ) + return -1; return myVTK2ObjIds.at(theVtkID); } diff --git a/src/VTKViewer/VTKViewer_Trihedron.h b/src/VTKViewer/VTKViewer_Trihedron.h index e40e3bc90..d134740f8 100755 --- a/src/VTKViewer/VTKViewer_Trihedron.h +++ b/src/VTKViewer/VTKViewer_Trihedron.h @@ -113,7 +113,7 @@ protected: //**************************************************************** /*!This class provide support trihedron object in vtk viewer.*/ -class VTKVIEWER_EXPORT VTKVIEWER_EXPORT VTKViewer_Trihedron : public vtkObject +class VTKVIEWER_EXPORT VTKViewer_Trihedron : public vtkObject { protected: /*!Initialize fields by default values.*/