#87997# corrected an assertion

This commit is contained in:
Frank Schönheit 2001-06-12 05:02:47 +00:00
parent 26052036f2
commit bb69e111a5

View file

@ -2,9 +2,9 @@
*
* $RCSfile: FormComponent.cxx,v $
*
* $Revision: 1.12 $
* $Revision: 1.13 $
*
* last change: $Author: fs $ $Date: 2001-05-31 14:04:53 $
* last change: $Author: fs $ $Date: 2001-06-12 06:02:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -800,7 +800,7 @@ DBG_NAME(frm_OBoundControlModel);
//------------------------------------------------------------------
Any SAL_CALL OBoundControlModel::queryAggregation( const Type& _rType ) throw (RuntimeException)
{
Any aReturn;
Any aReturn;
aReturn = OControlModel::queryAggregation(_rType);
if (!aReturn.hasValue())
@ -1293,7 +1293,7 @@ sal_Bool OBoundControlModel::connectToField(const Reference<XRowSet>& rForm)
}
else
{
OSL_ASSERT("OBoundControlModel::connectToField: property NAME not supported!");
OSL_ENSURE(sal_False, "OBoundControlModel::connectToField: property NAME not supported!");
m_xField = NULL;
}
}