//----------------------------------------------------------------------------
void VisuGUI_Sweep::onValueChanged( int value )
{
- bool anIsValidSelection = ( myColoredPrs3d != NULL )
- && (myActor != NULL );
+ bool anIsValidSelection = ( myColoredPrs3d != 0 ) && ( myActor != 0 );
if ( !anIsValidSelection )
return;