summaryrefslogtreecommitdiff
path: root/forms/source/component/RadioButton.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-11-05 22:38:31 +0100
committerJulien Nabet <serval2412@yahoo.fr>2021-11-05 23:38:51 +0100
commit742b8befecbcfc0cfab87cfcd87c83b7d8ef32ab (patch)
treea458d0c481b9a0934c90bb865b2e91ff4599f8e3 /forms/source/component/RadioButton.cxx
parentd84849c5d1fc927d3ce14b81f6c875f3f4223ce6 (diff)
Replace some macros in forms part 7
Remove BEGIN_DESCRIBE_PROPERTIES Change-Id: Ic1f52f21037e890c4f7143a1283f34101dbb737a Change-Id: I1bd902af7f634bb70313dda72b7a008bdda38f75 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124782 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'forms/source/component/RadioButton.cxx')
-rw-r--r--forms/source/component/RadioButton.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/forms/source/component/RadioButton.cxx b/forms/source/component/RadioButton.cxx
index 43fe2d96e777..f07d9894e0aa 100644
--- a/forms/source/component/RadioButton.cxx
+++ b/forms/source/component/RadioButton.cxx
@@ -238,7 +238,10 @@ void ORadioButtonModel::setControlSource()
void ORadioButtonModel::describeFixedProperties( Sequence< Property >& _rProps ) const
{
- BEGIN_DESCRIBE_PROPERTIES( 1, OReferenceValueComponent )
+ OReferenceValueComponent::describeFixedProperties( _rProps );
+ sal_Int32 nOldCount = _rProps.getLength();
+ _rProps.realloc( nOldCount + 1);
+ css::beans::Property* pProperties = _rProps.getArray() + nOldCount;
DECL_PROP1(TABINDEX, sal_Int16, BOUND);
DBG_ASSERT( pProperties == _rProps.getArray() + _rProps.getLength(), "<...>::describeFixedProperties/getInfoHelper: forgot to adjust the count ?");
}