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::Property;
|
||||||
using com::sun::star::beans::XPropertySetInfo;
|
using com::sun::star::beans::XPropertySetInfo;
|
||||||
|
|
||||||
|
PropertyAccessorBase::~PropertyAccessorBase()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
oslInterlockedCount SAL_CALL PropertyAccessorBase::acquire()
|
oslInterlockedCount SAL_CALL PropertyAccessorBase::acquire()
|
||||||
{
|
{
|
||||||
return ++m_refCount;
|
return ++m_refCount;
|
||||||
|
@ -60,6 +60,7 @@ private:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
PropertyAccessorBase() : m_refCount( 0 ) { }
|
PropertyAccessorBase() : m_refCount( 0 ) { }
|
||||||
|
virtual ~PropertyAccessorBase();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual oslInterlockedCount SAL_CALL acquire();
|
virtual oslInterlockedCount SAL_CALL acquire();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user