diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2021-11-05 23:48:35 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-11-06 08:13:40 +0100 |
commit | b4c4ca39d7cd4cc59e01bceeb31dc75097b67acb (patch) | |
tree | e5bcf412745c92813b8860bfc96552ba5efe29a7 /forms/source/component/spinbutton.cxx | |
parent | a2d322c02af05db1b785633ea398fe0b62b67605 (diff) |
Replace some macros in forms part 9
Change-Id: I3bd6e118455c8ce86650797e05b7e40ca066eb53
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124784
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'forms/source/component/spinbutton.cxx')
-rw-r--r-- | forms/source/component/spinbutton.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/spinbutton.cxx b/forms/source/component/spinbutton.cxx index 71ab77f7b474..a237ef7bad83 100644 --- a/forms/source/component/spinbutton.cxx +++ b/forms/source/component/spinbutton.cxx @@ -94,8 +94,8 @@ namespace frm 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(DEFAULT_SPIN_VALUE, sal_Int32) css::beans::PropertyAttribute::BOUND); + DECL_PROP_IMPL(TABINDEX, sal_Int16) css::beans::PropertyAttribute::BOUND); DECL_PROP_IMPL(CONTROLSOURCEPROPERTY, OUString) css::beans::PropertyAttribute::READONLY | css::beans::PropertyAttribute::TRANSIENT); DBG_ASSERT( pProperties == _rProps.getArray() + _rProps.getLength(), "<...>::describeFixedProperties/getInfoHelper: forgot to adjust the count ?"); } |