From 40a5ba66a8b92898d4a933064b9eab4267388f45 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sat, 6 Nov 2021 09:02:16 +0100 Subject: 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 --- forms/source/component/ImageControl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'forms/source/component/ImageControl.cxx') diff --git a/forms/source/component/ImageControl.cxx b/forms/source/component/ImageControl.cxx index 614f7d576e5b..122f878490eb 100644 --- a/forms/source/component/ImageControl.cxx +++ b/forms/source/component/ImageControl.cxx @@ -316,10 +316,10 @@ void OImageControlModel::describeFixedProperties( Sequence< Property >& _rProps css::beans::Property* pProperties = _rProps.getArray() + nOldCount; *pProperties++ = css::beans::Property(PROPERTY_GRAPHIC, PROPERTY_ID_GRAPHIC, cppu::UnoType::get(), css::beans::PropertyAttribute::BOUND | css::beans::PropertyAttribute::TRANSIENT); - DECL_PROP_IMPL(IMAGE_URL, OUString) css::beans::PropertyAttribute::BOUND); + *pProperties++ = css::beans::Property(PROPERTY_IMAGE_URL, PROPERTY_ID_IMAGE_URL, cppu::UnoType::get(), css::beans::PropertyAttribute::BOUND); *pProperties++ = css::beans::Property(PROPERTY_READONLY, PROPERTY_ID_READONLY, cppu::UnoType::get(), css::beans::PropertyAttribute::BOUND); - DECL_PROP_IMPL(TABINDEX, sal_Int16) css::beans::PropertyAttribute::BOUND); + *pProperties++ = css::beans::Property(PROPERTY_TABINDEX, PROPERTY_ID_TABINDEX, cppu::UnoType::get(), css::beans::PropertyAttribute::BOUND); DBG_ASSERT( pProperties == _rProps.getArray() + _rProps.getLength(), "<...>::describeFixedProperties/getInfoHelper: forgot to adjust the count ?"); } -- cgit