summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-24 13:39:49 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-27 06:12:01 +0000
commitefac5fa06e2d00bd67c582d8a6b1f1fc69c9b9f5 (patch)
tree4fdf4539e1b876d4d3d671379be040661c6e847a /forms
parentafbf466103fd8bb2f3c120a36c181852ad4c967f (diff)
remove some unused defines
Change-Id: Ib2d50e8c29ccbc5ffcb52cdff4ae3eaae9a62188 Reviewed-on: https://gerrit.libreoffice.org/17332 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'forms')
-rw-r--r--forms/source/inc/property.hxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/forms/source/inc/property.hxx b/forms/source/inc/property.hxx
index 1ae8ebcffa71..bfbc55f6b558 100644
--- a/forms/source/inc/property.hxx
+++ b/forms/source/inc/property.hxx
@@ -155,14 +155,6 @@ public:
// === some property types require special handling
// === such as interfaces
-#define DECL_IFACE_PROP0(varname, type) \
- DECL_IFACE_PROP_IMPL(varname, type) 0)
-
-
-#define DECL_IFACE_PROP1(varname, type, attrib1) \
- DECL_IFACE_PROP_IMPL(varname, type) css::beans::PropertyAttribute::attrib1)
-
-
#define DECL_IFACE_PROP2(varname, type, attrib1, attrib2) \
DECL_IFACE_PROP_IMPL(varname, type) com::sun::star::beans::PropertyAttribute::attrib1 | com::sun::star::beans::PropertyAttribute::attrib2)
@@ -176,10 +168,6 @@ public:
// === or Boolean properties
-#define DECL_BOOL_PROP0(varname) \
- DECL_BOOL_PROP_IMPL(varname) 0)
-
-
#define DECL_BOOL_PROP1(varname, attrib1) \
DECL_BOOL_PROP_IMPL(varname) com::sun::star::beans::PropertyAttribute::attrib1)
@@ -198,10 +186,6 @@ public:
-#define REGISTER_PROP_1( prop, member, attrib1 ) \
- registerProperty( PROPERTY_##prop, PROPERTY_ID_##prop, PropertyAttribute::attrib1, \
- &member, cppu::UnoType<decltype(member)>::get() );
-
#define REGISTER_PROP_2( prop, member, attrib1, attrib2 ) \
registerProperty( PROPERTY_##prop, PROPERTY_ID_##prop, PropertyAttribute::attrib1 | PropertyAttribute::attrib2, \
&member, cppu::UnoType<decltype(member)>::get() );
@@ -211,10 +195,6 @@ public:
&member, cppu::UnoType<decltype(member)>::get() );
-#define REGISTER_VOID_PROP_1( prop, memberAny, type, attrib1 ) \
- registerMayBeVoidProperty( PROPERTY_##prop, PROPERTY_ID_##prop, PropertyAttribute::MAYBEVOID | PropertyAttribute::attrib1, \
- &memberAny, cppu::UnoType<type>::get() );
-
#define REGISTER_VOID_PROP_2( prop, memberAny, type, attrib1, attrib2 ) \
registerMayBeVoidProperty( PROPERTY_##prop, PROPERTY_ID_##prop, PropertyAttribute::MAYBEVOID | PropertyAttribute::attrib1 | PropertyAttribute::attrib2, \
&memberAny, cppu::UnoType<type>::get() );