diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2021-11-06 09:02:16 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-11-06 10:49:45 +0100 |
commit | 40a5ba66a8b92898d4a933064b9eab4267388f45 (patch) | |
tree | 7e286dc36b97e3e009ccff3fab1294dcd27c2ba7 /forms/source/component/Numeric.cxx | |
parent | 6ca3347985745b89594d0855f6004fd41d604f56 (diff) |
Replace some macros in forms part 10
Remove DECL_PROP_IMPL
Change-Id: I4ba5e3252058b137cd314f0aed0caf60bb347852
Change-Id: Icfda67a31f465ebfe0c13761bdbdf9b024605dc5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124785
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'forms/source/component/Numeric.cxx')
-rw-r--r-- | forms/source/component/Numeric.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/Numeric.cxx b/forms/source/component/Numeric.cxx index c5bebf4c6650..feafca722cdf 100644 --- a/forms/source/component/Numeric.cxx +++ b/forms/source/component/Numeric.cxx @@ -114,8 +114,8 @@ void ONumericModel::describeFixedProperties( Sequence< Property >& _rProps ) con sal_Int32 nOldCount = _rProps.getLength(); _rProps.realloc( nOldCount + 2); css::beans::Property* pProperties = _rProps.getArray() + nOldCount; - DECL_PROP_IMPL(DEFAULT_VALUE, double) css::beans::PropertyAttribute::BOUND | css::beans::PropertyAttribute::MAYBEDEFAULT | css::beans::PropertyAttribute::MAYBEVOID); - DECL_PROP_IMPL(TABINDEX, sal_Int16) css::beans::PropertyAttribute::BOUND); + *pProperties++ = css::beans::Property(PROPERTY_DEFAULT_VALUE, PROPERTY_ID_DEFAULT_VALUE, cppu::UnoType<double>::get(), css::beans::PropertyAttribute::BOUND | css::beans::PropertyAttribute::MAYBEDEFAULT | css::beans::PropertyAttribute::MAYBEVOID); + *pProperties++ = css::beans::Property(PROPERTY_TABINDEX, PROPERTY_ID_TABINDEX, cppu::UnoType<sal_Int16>::get(), css::beans::PropertyAttribute::BOUND); DBG_ASSERT( pProperties == _rProps.getArray() + _rProps.getLength(), "<...>::describeFixedProperties/getInfoHelper: forgot to adjust the count ?"); } |