summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-06-25 11:04:09 +0000
committerKurt Zenker <kz@openoffice.org>2008-06-25 11:04:09 +0000
commitedec362f01961a740fe8cde029e965dc19c9fb86 (patch)
tree96c74098c0522e6763ae23f99d28318eb08c86ee /forms
parent2254580ae5b197f86a3a11624b46a802faeb9d60 (diff)
INTEGRATION: CWS dba30d (1.10.10); FILE MERGED
2008/05/27 12:28:03 fs 1.10.10.1: #i89657# refactoring, so that our binding's getValue is only called when our mutex is not locked
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/refvaluecomponent.hxx23
1 files changed, 4 insertions, 19 deletions
diff --git a/forms/source/component/refvaluecomponent.hxx b/forms/source/component/refvaluecomponent.hxx
index 4ceb7d8aa487..856c53572432 100644
--- a/forms/source/component/refvaluecomponent.hxx
+++ b/forms/source/component/refvaluecomponent.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: refvaluecomponent.hxx,v $
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
* This file is part of OpenOffice.org.
*
@@ -59,15 +59,6 @@ namespace frm
sal_Bool m_bSupportSecondRefValue; // do we support the SecondaryRefValue property?
- /** type how we should transfer our selection to external value bindings
- */
- enum ValueExchangeType
- {
- eString,
- eBoolean
- };
- ValueExchangeType m_eValueExchangeType;
-
protected:
const ::rtl::OUString& getReferenceValue() const { return m_sReferenceValue; }
void setReferenceValue( const ::rtl::OUString& _rRefValue );
@@ -100,11 +91,10 @@ namespace frm
using ::cppu::OPropertySetHelper::getFastPropertyValue;
// OBoundControlModel overridables
- virtual void onConnectedExternalValue( );
- virtual sal_Bool approveValueBinding( const ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XValueBinding >& _rxBinding );
-
+ 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;
@@ -113,11 +103,6 @@ namespace frm
virtual ::com::sun::star::uno::Any
getDefaultForReset() const;
-
- private:
- /** calculates the data type we need to use to exchange values with external bindings
- */
- void calcValueExchangeType();
};
//........................................................................