diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-06-25 11:00:00 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-06-25 11:00:00 +0000 |
commit | 1793ac02d8bd6785b259cc26d9602363f469e4b4 (patch) | |
tree | d222362375124fce42f93c557c143569bcb2e180 /forms/source/component/Numeric.cxx | |
parent | 3dc99680be23342758974d2fb5e1c76cc0c97055 (diff) |
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
Diffstat (limited to 'forms/source/component/Numeric.cxx')
-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 //......................................................................... |