From ce5429e48348f244ba3679358005a274fc72804c Mon Sep 17 00:00:00 2001 From: abd Date: Mon, 27 Oct 2008 11:44:13 +0000 Subject: [PATCH] fix compilation error on win32 platform --- src/VISUGUI/VisuGUI_Sweep.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/VISUGUI/VisuGUI_Sweep.cxx b/src/VISUGUI/VisuGUI_Sweep.cxx index aeebc324..38549b5d 100644 --- a/src/VISUGUI/VisuGUI_Sweep.cxx +++ b/src/VISUGUI/VisuGUI_Sweep.cxx @@ -362,7 +362,8 @@ void VisuGUI_Sweep::onSelectionChanged() //---------------------------------------------------------------------------- void VisuGUI_Sweep::onValueChanged( int value ) { - bool anIsValidSelection = ( myColoredPrs3d && myActor.GetPointer() ); + bool anIsValidSelection = ( myColoredPrs3d != NULL ) + && (myActor.GetPointer() != NULL ); if ( !anIsValidSelection ) return; -- 2.39.2