Salome HOME
Merge from V6_4_BR 05/12/2011
[modules/visu.git] / src / VISUGUI / VisuGUI_Sweep.cxx
index 74ea0207b0b78a5be11dcda9b92609afecef21c0..f44a1e44b694c41df20d2f3c21f50eeec2c48448 100644 (file)
@@ -363,8 +363,7 @@ void VisuGUI_Sweep::onSelectionChanged()
 //----------------------------------------------------------------------------
 void VisuGUI_Sweep::onValueChanged( int value )
 {
-  bool anIsValidSelection = ( myColoredPrs3d != NULL )
-                          && (myActor != NULL );
+  bool anIsValidSelection = ( myColoredPrs3d != 0 ) && ( myActor != 0 );
 
   if ( !anIsValidSelection )
     return;