diff options
Diffstat (limited to 'forms/source/component/spinbutton.cxx')
-rw-r--r-- | forms/source/component/spinbutton.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/forms/source/component/spinbutton.cxx b/forms/source/component/spinbutton.cxx index dad2cd94ace3..71ab77f7b474 100644 --- a/forms/source/component/spinbutton.cxx +++ b/forms/source/component/spinbutton.cxx @@ -90,7 +90,10 @@ namespace frm void OSpinButtonModel::describeFixedProperties( Sequence< Property >& _rProps ) const { - BEGIN_DESCRIBE_PROPERTIES( 3, OControlModel ) + OControlModel::describeFixedProperties( _rProps ); + sal_Int32 nOldCount = _rProps.getLength(); + _rProps.realloc( nOldCount + 3); + css::beans::Property* pProperties = _rProps.getArray() + nOldCount; DECL_PROP1( DEFAULT_SPIN_VALUE, sal_Int32, BOUND ); DECL_PROP1( TABINDEX, sal_Int16, BOUND ); DECL_PROP_IMPL(CONTROLSOURCEPROPERTY, OUString) css::beans::PropertyAttribute::READONLY | css::beans::PropertyAttribute::TRANSIENT); |