Kaydet (Commit) 2091d5a4 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

forms: expand DECLARE_DEFAULT_DTOR

Change-Id: I52b091402ec23f9c5eb87ae2212cc5b4986c6435
üst f634cda2
......@@ -57,7 +57,7 @@ namespace frm
bool _bSupportNoCheckRefValue = false
);
DECLARE_DEFAULT_CLONE_CTOR( OReferenceValueComponent )
DECLARE_DEFAULT_DTOR( OReferenceValueComponent );
virtual ~OReferenceValueComponent();
// OPropertySet and friends
virtual void SAL_CALL getFastPropertyValue(::com::sun::star::uno::Any& rValue, sal_Int32 nHandle) const SAL_OVERRIDE;
......
......@@ -523,11 +523,6 @@ public:
getInstanceMutex() { return m_aMutex; }
};
// simple destructor
#define DECLARE_DEFAULT_DTOR( classname ) \
virtual ~classname()
// constructor for cloning a class
#define DECLARE_DEFAULT_CLONE_CTOR( classname ) \
classname( \
......@@ -543,7 +538,7 @@ public:
const OUString& _rDefault \
); \
DECLARE_DEFAULT_CLONE_CTOR( classname ) \
DECLARE_DEFAULT_DTOR( classname ) \
virtual ~classname() \
// all xtors for an inner class of the object hierarchy which is *bound*
#define DECLARE_DEFAULT_BOUND_XTOR( classname ) \
......@@ -555,7 +550,7 @@ public:
const bool _bSupportsValidation \
); \
DECLARE_DEFAULT_CLONE_CTOR( classname ) \
DECLARE_DEFAULT_DTOR( classname ) \
virtual ~classname() \
// all xtors for a leas class of the object hierarchy
#define DECLARE_DEFAULT_LEAF_XTOR( classname ) \
......@@ -566,7 +561,7 @@ public:
const classname* _pOriginal, \
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxFactory \
); \
DECLARE_DEFAULT_DTOR( classname ) \
virtual ~classname() \
// XCloneable
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment