From 1793ac02d8bd6785b259cc26d9602363f469e4b4 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Wed, 25 Jun 2008 11:00:00 +0000 Subject: INTEGRATION: CWS dba30d (1.16.18); FILE MERGED 2008/05/27 12:28:02 fs 1.16.18.1: #i89657# refactoring, so that our binding's getValue is only called when our mutex is not locked --- forms/source/component/Numeric.cxx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'forms/source') 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 //......................................................................... -- cgit v1.2.1