diff options
author | David Tardon <dtardon@redhat.com> | 2012-01-15 16:19:59 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-05-18 16:37:55 +0200 |
commit | 68aca396bdd04363ac98fc3e83df2403d803ae4f (patch) | |
tree | 4e7aa33bb826c60b8fbc0035f5599575e0f5980b /forms | |
parent | 4bb661f08fbc093100c3f160b2101deb8dd89a3a (diff) |
WaE: deleting object of abstract class type with non-virtual destructor
(cherry picked from commit e18a7b0e3846b940a7d6facfd9abc9d3fd355d94)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/xforms/propertysetbase.cxx | 4 | ||||
-rw-r--r-- | forms/source/xforms/propertysetbase.hxx | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/forms/source/xforms/propertysetbase.cxx b/forms/source/xforms/propertysetbase.cxx index 64c53bc5583d..eefa92171c05 100644 --- a/forms/source/xforms/propertysetbase.cxx +++ b/forms/source/xforms/propertysetbase.cxx @@ -49,6 +49,10 @@ using com::sun::star::lang::IllegalArgumentException; using com::sun::star::beans::Property; using com::sun::star::beans::XPropertySetInfo; +PropertyAccessorBase::~PropertyAccessorBase() +{ +} + oslInterlockedCount SAL_CALL PropertyAccessorBase::acquire() { return ++m_refCount; diff --git a/forms/source/xforms/propertysetbase.hxx b/forms/source/xforms/propertysetbase.hxx index 27556b1381f8..9e885cc18717 100644 --- a/forms/source/xforms/propertysetbase.hxx +++ b/forms/source/xforms/propertysetbase.hxx @@ -60,6 +60,7 @@ private: protected: PropertyAccessorBase() : m_refCount( 0 ) { } + virtual ~PropertyAccessorBase(); public: virtual oslInterlockedCount SAL_CALL acquire(); |