diff options
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/Numeric.cxx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/forms/source/component/Numeric.cxx b/forms/source/component/Numeric.cxx index a497d3c505c3..2ec1f0cfcfdc 100644 --- a/forms/source/component/Numeric.cxx +++ b/forms/source/component/Numeric.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: Numeric.cxx,v $ - * $Revision: 1.16 $ + * $Revision: 1.17 $ * * This file is part of OpenOffice.org. * @@ -212,16 +212,6 @@ Any ONumericModel::getDefaultForReset() const return aValue; } -//------------------------------------------------------------------------------ -sal_Bool ONumericModel::approveValueBinding( const Reference< XValueBinding >& _rxBinding ) -{ - OSL_PRECOND( _rxBinding.is(), "ONumericModel::approveValueBinding: invalid binding!" ); - - // only strings are accepted for simplicity - return _rxBinding.is() - && _rxBinding->supportsType( ::getCppuType( static_cast< double* >( NULL ) ) ); -} - //......................................................................... } // namespace frm //......................................................................... |