summaryrefslogtreecommitdiffstats
path: root/forms/source/component/refvaluecomponent.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/refvaluecomponent.cxx
parentUpdate git submodules (diff)
downloadcore-742b8befecbcfc0cfab87cfcd87c83b7d8ef32ab.tar.gz
core-742b8befecbcfc0cfab87cfcd87c83b7d8ef32ab.zip
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/refvaluecomponent.cxx')
-rw-r--r--forms/source/component/refvaluecomponent.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/forms/source/component/refvaluecomponent.cxx b/forms/source/component/refvaluecomponent.cxx
index 00d204d0de31..e8177a20fab7 100644
--- a/forms/source/component/refvaluecomponent.cxx
+++ b/forms/source/component/refvaluecomponent.cxx
@@ -154,7 +154,10 @@ namespace frm
void OReferenceValueComponent::describeFixedProperties( Sequence< Property >& _rProps ) const
{
- BEGIN_DESCRIBE_PROPERTIES( 3, OBoundControlModel )
+ OBoundControlModel::describeFixedProperties( _rProps );
+ sal_Int32 nOldCount = _rProps.getLength();
+ _rProps.realloc( nOldCount + 3);
+ css::beans::Property* pProperties = _rProps.getArray() + nOldCount;
DECL_PROP1( REFVALUE, OUString, BOUND );
DECL_PROP1( DEFAULT_STATE, sal_Int16, BOUND );
DECL_PROP1( UNCHECKED_REFVALUE, OUString, BOUND );