diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2021-11-03 23:29:30 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-11-04 07:04:01 +0100 |
commit | 3c1bd037802f5fbad9f43566a33500e54a6b9de6 (patch) | |
tree | 7a44eb7a14097cc76531baec00e1f8aa226cd293 /forms/source/inc/property.hxx | |
parent | bac1b748f5b600952b9bf3eaaaf5a4bb8342fe59 (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/inc/property.hxx')
-rw-r--r-- | forms/source/inc/property.hxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/forms/source/inc/property.hxx b/forms/source/inc/property.hxx index 7e9642b8d2d9..a99ae179fef9 100644 --- a/forms/source/inc/property.hxx +++ b/forms/source/inc/property.hxx @@ -376,17 +376,6 @@ public: #define DECL_PROP3(varname, type, attrib1, attrib2, attrib3) \ DECL_PROP_IMPL(varname, type) css::beans::PropertyAttribute::attrib1 | css::beans::PropertyAttribute::attrib2 | css::beans::PropertyAttribute::attrib3) - -// === some property types require special handling -// === such Boolean properties - -#define DECL_BOOL_PROP1(varname, attrib1) \ - DECL_BOOL_PROP_IMPL(varname) css::beans::PropertyAttribute::attrib1) - - -#define DECL_BOOL_PROP2(varname, attrib1, attrib2) \ - DECL_BOOL_PROP_IMPL(varname) css::beans::PropertyAttribute::attrib1 | css::beans::PropertyAttribute::attrib2) - #define END_DESCRIBE_PROPERTIES() \ DBG_ASSERT( pProperties == _rProps.getArray() + _rProps.getLength(), "<...>::describeFixedProperties/getInfoHelper: forgot to adjust the count ?"); \ |