summaryrefslogtreecommitdiff
path: root/forms/source/component/Edit.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-11-03 23:29:30 +0100
committerJulien Nabet <serval2412@yahoo.fr>2021-11-04 07:04:01 +0100
commit3c1bd037802f5fbad9f43566a33500e54a6b9de6 (patch)
tree7a44eb7a14097cc76531baec00e1f8aa226cd293 /forms/source/component/Edit.cxx
parentbac1b748f5b600952b9bf3eaaaf5a4bb8342fe59 (diff)
Replace some macros in forms part 3
Remove DECL_BOOL_PROP1 + DECL_BOOL_PROP2 Change-Id: I8a07ac7b2b8ab724d5277a11b37cf10a6711fdb5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124664 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'forms/source/component/Edit.cxx')
-rw-r--r--forms/source/component/Edit.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/Edit.cxx b/forms/source/component/Edit.cxx
index e1eefb02f396..b8119211b08e 100644
--- a/forms/source/component/Edit.cxx
+++ b/forms/source/component/Edit.cxx
@@ -352,9 +352,9 @@ void OEditModel::describeFixedProperties( Sequence< Property >& _rProps ) const
BEGIN_DESCRIBE_PROPERTIES( 5, OEditBaseModel )
DECL_PROP2(PERSISTENCE_MAXTEXTLENGTH,sal_Int16, READONLY, TRANSIENT);
DECL_PROP2(DEFAULT_TEXT, OUString, BOUND, MAYBEDEFAULT);
- DECL_BOOL_PROP1(EMPTY_IS_NULL, BOUND);
+ DECL_BOOL_PROP_IMPL(EMPTY_IS_NULL) css::beans::PropertyAttribute::BOUND);
DECL_PROP1(TABINDEX, sal_Int16, BOUND);
- DECL_BOOL_PROP2(FILTERPROPOSAL, BOUND, MAYBEDEFAULT);
+ DECL_BOOL_PROP_IMPL(FILTERPROPOSAL) css::beans::PropertyAttribute::BOUND | css::beans::PropertyAttribute::MAYBEDEFAULT);
END_DESCRIBE_PROPERTIES();
}