summaryrefslogtreecommitdiff
path: root/forms/source/component/Columns.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-11-05 23:48:35 +0100
committerJulien Nabet <serval2412@yahoo.fr>2021-11-06 08:13:40 +0100
commitb4c4ca39d7cd4cc59e01bceeb31dc75097b67acb (patch)
treee5bcf412745c92813b8860bfc96552ba5efe29a7 /forms/source/component/Columns.cxx
parenta2d322c02af05db1b785633ea398fe0b62b67605 (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/Columns.cxx')
-rw-r--r--forms/source/component/Columns.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/Columns.cxx b/forms/source/component/Columns.cxx
index bdea1e4009ae..cab7d72ff52b 100644
--- a/forms/source/component/Columns.cxx
+++ b/forms/source/component/Columns.cxx
@@ -345,12 +345,12 @@ void OGridColumn::setOwnProperties(Sequence<Property>& aDescriptor)
{
aDescriptor.realloc(5);
Property* pProperties = aDescriptor.getArray();
- DECL_PROP1(LABEL, OUString, BOUND);
+ DECL_PROP_IMPL(LABEL, OUString) css::beans::PropertyAttribute::BOUND);
DECL_PROP_IMPL(WIDTH, sal_Int32) css::beans::PropertyAttribute::BOUND | css::beans::PropertyAttribute::MAYBEVOID | css::beans::PropertyAttribute::MAYBEDEFAULT);
DECL_PROP_IMPL(ALIGN, sal_Int16) css::beans::PropertyAttribute::BOUND | css::beans::PropertyAttribute::MAYBEVOID | css::beans::PropertyAttribute::MAYBEDEFAULT);
*pProperties++ = css::beans::Property(PROPERTY_HIDDEN, PROPERTY_ID_HIDDEN, cppu::UnoType<bool>::get(),
css::beans::PropertyAttribute::BOUND | css::beans::PropertyAttribute::MAYBEDEFAULT);
- DECL_PROP1(COLUMNSERVICENAME, OUString, READONLY);
+ DECL_PROP_IMPL(COLUMNSERVICENAME, OUString) css::beans::PropertyAttribute::READONLY);
}
// Reference<XPropertySet>