diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-06-25 10:57:49 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-06-25 10:57:49 +0000 |
commit | 99d686e5a68c4f4d8e8e1591229dcf71e800bece (patch) | |
tree | 34b3c9e3b9ce1a894ece5c7dc94e034afc9a563a /forms/source | |
parent | INTEGRATION: CWS dba30d (1.45.10); FILE MERGED (diff) | |
download | core-99d686e5a68c4f4d8e8e1591229dcf71e800bece.tar.gz core-99d686e5a68c4f4d8e8e1591229dcf71e800bece.zip |
INTEGRATION: CWS dba30d (1.19.10); FILE MERGED
2008/05/27 12:28:02 fs 1.19.10.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/FormattedField.hxx | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/forms/source/component/FormattedField.hxx b/forms/source/component/FormattedField.hxx index 804d6b86c438..0e728288aaba 100644 --- a/forms/source/component/FormattedField.hxx +++ b/forms/source/component/FormattedField.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: FormattedField.hxx,v $ - * $Revision: 1.19 $ + * $Revision: 1.20 $ * * This file is part of OpenOffice.org. * @@ -131,8 +131,10 @@ namespace frm translateDbColumnToControlValue( ); virtual sal_Bool commitControlValueToDbColumn( bool _bPostReset ); + virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > + getSupportedBindingTypes(); virtual ::com::sun::star::uno::Any - translateExternalValueToControlValue( ) const; + translateExternalValueToControlValue( const ::com::sun::star::uno::Any& _rExternalValue ) const; virtual ::com::sun::star::uno::Any translateControlValueToExternalValue( ) const; virtual void onConnectedExternalValue( ); @@ -143,22 +145,6 @@ namespace frm virtual void onConnectedDbColumn( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _rxForm ); virtual void onDisconnectedDbColumn(); - virtual sal_Bool approveValueBinding( const ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XValueBinding >& _rxBinding ); - - protected: - /** retrieves the type which should be used to communicate with the current - external binding - - The type depends on the current number format, and the types which are supported - by the current external binding. As a least fallback, |double|'s type is returned. - (In approveValueBinding, we ensure that only bindings supporting |double|'s are - accepted.) - - @precond hasExternalValueBinding returns <TRUE/> - */ - ::com::sun::star::uno::Type - getExternalValueType() const; - private: DECLARE_XCLONEABLE(); |