Kaydet (Commit) e18a7b0e authored tarafından David Tardon's avatar David Tardon

WaE: deleting object of abstract class type with non-virtual destructor

üst d5434923
...@@ -49,6 +49,10 @@ using com::sun::star::lang::IllegalArgumentException; ...@@ -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: ...@@ -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();
......
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