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/richtext | |
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/richtext')
-rw-r--r-- | forms/source/richtext/richtextmodel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/richtext/richtextmodel.cxx b/forms/source/richtext/richtextmodel.cxx index 59474333d80f..1029ce9a7352 100644 --- a/forms/source/richtext/richtextmodel.cxx +++ b/forms/source/richtext/richtextmodel.cxx @@ -314,7 +314,7 @@ namespace frm sal_Int32 nOldCount = _rProps.getLength(); _rProps.realloc( nOldCount + 1); css::beans::Property* pProperties = _rProps.getArray() + nOldCount; - DECL_PROP_IMPL(TABINDEX, sal_Int16) css::beans::PropertyAttribute::BOUND | css::beans::PropertyAttribute::MAYBEDEFAULT); + *pProperties++ = css::beans::Property(PROPERTY_TABINDEX, PROPERTY_ID_TABINDEX, cppu::UnoType<sal_Int16>::get(), css::beans::PropertyAttribute::BOUND | css::beans::PropertyAttribute::MAYBEDEFAULT); DBG_ASSERT( pProperties == _rProps.getArray() + _rProps.getLength(), "<...>::describeFixedProperties/getInfoHelper: forgot to adjust the count ?"); // properties which the OPropertyContainerHelper is responsible for |