diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-06-25 10:54:12 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-06-25 10:54:12 +0000 |
commit | b88fbd19c8c108f6e3a4ed7b64b2c65d47a96d2a (patch) | |
tree | 1059e73ff9820f741f037330b29fa023de23bb64 /forms/source | |
parent | ce10a1ea60f370155f8d6abba0f93ccb5e422ede (diff) |
INTEGRATION: CWS dba30d (1.40.18); FILE MERGED
2008/05/27 12:28:02 fs 1.40.18.1: #i89657# refactoring, so that our binding's getValue is only called when our mutex is not locked
Diffstat (limited to 'forms/source')
-rw-r--r-- | forms/source/component/Edit.cxx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/forms/source/component/Edit.cxx b/forms/source/component/Edit.cxx index 548d885c7c5b..e7e85de72454 100644 --- a/forms/source/component/Edit.cxx +++ b/forms/source/component/Edit.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: Edit.cxx,v $ - * $Revision: 1.40 $ + * $Revision: 1.41 $ * * This file is part of OpenOffice.org. * @@ -677,16 +677,6 @@ sal_Bool OEditModel::approveDbColumnType( sal_Int32 _nColumnType ) } //------------------------------------------------------------------------------ -sal_Bool OEditModel::approveValueBinding( const Reference< XValueBinding >& _rxBinding ) -{ - OSL_PRECOND( _rxBinding.is(), "OEditModel::approveValueBinding: invalid binding!" ); - - // only strings are accepted for simplicity - return _rxBinding.is() - && _rxBinding->supportsType( ::getCppuType( static_cast< ::rtl::OUString* >( NULL ) ) ); -} - -//------------------------------------------------------------------------------ sal_Bool OEditModel::commitControlValueToDbColumn( bool /*_bPostReset*/ ) { ::rtl::OUString sNewValue; |