Index: sc/source/core/data/validat.cxx =================================================================== RCS file: /cvs/sc/sc/source/core/data/validat.cxx,v retrieving revision 1.20 diff -u -r1.20 validat.cxx --- sc/source/core/data/validat.cxx 5 Mar 2007 14:40:43 -0000 1.20 +++ sc/source/core/data/validat.cxx 20 Jul 2007 13:53:22 -0000 @@ -241,7 +241,7 @@ void ScValidationData::SetInput( const String& rTitle, const String& rMsg ) { - bShowInput = TRUE; + bShowInput = rMsg.Len() > 0; aInputTitle = rTitle; aInputMessage = rMsg; } @@ -249,7 +249,7 @@ void ScValidationData::SetError( const String& rTitle, const String& rMsg, ScValidErrorStyle eStyle ) { - bShowError = TRUE; + bShowError = rMsg.Len() > 0; eErrorStyle = eStyle; aErrorTitle = rTitle; aErrorMessage = rMsg;