diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-11-16 09:43:03 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-11-16 09:43:03 +0000 |
commit | d627bd17ab3b9bff3ccccb22f0db84271163ff39 (patch) | |
tree | 7fadc6cfe494fc86f2215b3e198a519f48afb4c1 /forms/source/component/spinbutton.cxx | |
parent | 8f09c47e5c38788bfde35ec110f13afd80bfe961 (diff) |
INTEGRATION: CWS eforms2 (1.3.4); FILE MERGED
2004/07/19 15:18:43 fs 1.3.4.2: during #114856#: properly determine who instigated a setControlValue, so that we can propagate the values to appropriate interested parties / while we were here: make some attributes private ...
2004/07/12 13:57:03 fs 1.3.4.1: formal support of the BindableIntegerValueRange service
Diffstat (limited to 'forms/source/component/spinbutton.cxx')
-rw-r--r-- | forms/source/component/spinbutton.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/component/spinbutton.cxx b/forms/source/component/spinbutton.cxx index 62bfc6e2c3dd..874ba5517e2d 100644 --- a/forms/source/component/spinbutton.cxx +++ b/forms/source/component/spinbutton.cxx @@ -2,9 +2,9 @@ * * $RCSfile: spinbutton.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: rt $ $Date: 2004-04-02 10:57:10 $ + * last change: $Author: obo $ $Date: 2004-11-16 10:43:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -129,7 +129,7 @@ namespace frm } //-------------------------------------------------------------------- - IMPLEMENT_SERVICE_REGISTRATION_1( OSpinButtonModel, OControlModel, FRM_SUN_COMPONENT_SPINBUTTON ) + IMPLEMENT_SERVICE_REGISTRATION_2( OSpinButtonModel, OControlModel, FRM_SUN_COMPONENT_SPINBUTTON, BINDABLE_INTEGER_VALUE_RANGE ) // note that we're passing OControlModel as "base class". This is because // OBoundControlModel, our real base class, claims to support the DataAwareControlModel // service, which isn't really true for us. We only derive from this class @@ -302,7 +302,7 @@ namespace frm //-------------------------------------------------------------------- Any OSpinButtonModel::translateExternalValueToControlValue( ) { - return translateExternalDoubleToControlIntValue( m_xExternalBinding, m_xAggregateSet, + return translateExternalDoubleToControlIntValue( getExternalValueBinding(), m_xAggregateSet, ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "SpinValueMin" ) ), ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "SpinValueMax" ) ) ); } |