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

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

üst d5286b64
...@@ -476,6 +476,10 @@ sal_uInt16 Ww1SingleSprm::Size(sal_uInt8* /*pSprm*/) ...@@ -476,6 +476,10 @@ sal_uInt16 Ww1SingleSprm::Size(sal_uInt8* /*pSprm*/)
return nCountBytes; return nCountBytes;
} }
Ww1SingleSprm::~Ww1SingleSprm()
{
}
sal_uInt16 Ww1SingleSprmTab::Size(sal_uInt8* pSprm) // Doc 24/25, Fastsave-Sprm sal_uInt16 Ww1SingleSprmTab::Size(sal_uInt8* pSprm) // Doc 24/25, Fastsave-Sprm
{ {
OSL_ENSURE(nCountBytes==0, "Ww1SingleSprmTab"); OSL_ENSURE(nCountBytes==0, "Ww1SingleSprmTab");
......
...@@ -385,6 +385,7 @@ public: ...@@ -385,6 +385,7 @@ public:
#endif #endif
{ {
} }
virtual ~Ww1SingleSprm();
}; };
class Ww1SingleSprmByteSized : public Ww1SingleSprm { class Ww1SingleSprmByteSized : public Ww1SingleSprm {
......
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