diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2021-11-05 19:12:25 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-11-05 20:09:24 +0100 |
commit | 7b6554851fb4cc620f4720f6ad3f394fa0a8995f (patch) | |
tree | efda17b6ee4552f845b028fbac9eeae85503a91b /forms/source/inc/property.hxx | |
parent | 5bfbaf3c80987d1f7e6b3d7ffe6896b9bc3687e6 (diff) |
Replace some macros in forms part 6
Remove DECL_BOOL_PROP_IMPL + BEGIN_DESCRIBE_BASE_PROPERTIES
Change-Id: I1a55c9de46ae741045002241a2b0f5dfa32db8c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124777
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 | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/forms/source/inc/property.hxx b/forms/source/inc/property.hxx index de1a09861b34..23154da5f054 100644 --- a/forms/source/inc/property.hxx +++ b/forms/source/inc/property.hxx @@ -341,10 +341,6 @@ public: *pProperties++ = css::beans::Property(PROPERTY_##varname, PROPERTY_ID_##varname, cppu::UnoType<type>::get(), -#define DECL_BOOL_PROP_IMPL(varname) \ - *pProperties++ = css::beans::Property(PROPERTY_##varname, PROPERTY_ID_##varname, cppu::UnoType<bool>::get(), - - #define BEGIN_DESCRIBE_PROPERTIES( count, baseclass ) \ baseclass::describeFixedProperties( _rProps ); \ sal_Int32 nOldCount = _rProps.getLength(); \ @@ -352,11 +348,6 @@ public: css::beans::Property* pProperties = _rProps.getArray() + nOldCount; \ -#define BEGIN_DESCRIBE_BASE_PROPERTIES( count ) \ - _rProps.realloc( count ); \ - css::beans::Property* pProperties = _rProps.getArray(); \ - - #define DECL_PROP1(varname, type, attrib1) \ DECL_PROP_IMPL(varname, type) css::beans::PropertyAttribute::attrib1) |