]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Updated SALOME GUI sources for building under Ms Visual .NET on Windows platform.
authorstv <stv@opencascade.com>
Tue, 21 Feb 2006 14:59:02 +0000 (14:59 +0000)
committerstv <stv@opencascade.com>
Tue, 21 Feb 2006 14:59:02 +0000 (14:59 +0000)
src/VTKViewer/VTKViewer_ShrinkFilter.cxx
src/VTKViewer/VTKViewer_Trihedron.h

index c65699a9a790d6a2d1bcd925c57cb97f19aeff2a..b2825687a633ba0ff76d9599a9d90ad59f1b97ec 100755 (executable)
@@ -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);
 }
index e40e3bc903d064567b99e27c8fd5c7e329d852c2..d134740f83e19b34b19f6930b88b525a2a5b7179 100755 (executable)
@@ -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.*/