WaE: deleting object of abstract class type with non-virtual destructor
This commit is contained in:
parent
d54349233f
commit
e18a7b0e38
@ -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;
|
||||
|
@ -60,6 +60,7 @@ private:
|
||||
|
||||
protected:
|
||||
PropertyAccessorBase() : m_refCount( 0 ) { }
|
||||
virtual ~PropertyAccessorBase();
|
||||
|
||||
public:
|
||||
virtual oslInterlockedCount SAL_CALL acquire();
|
||||
|
Loading…
x
Reference in New Issue
Block a user