diff options
author | David Tardon <dtardon@redhat.com> | 2012-01-15 18:29:11 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-01-15 20:27:26 +0100 |
commit | 986388e76b35ea7bea9e767155f87db68fc74c7f (patch) | |
tree | eac819660476a3fe2dea1e80296f3cdba5c45221 /sw/source/filter/ww1 | |
parent | d5286b646247dda00d28967784da6a817be68f7d (diff) |
WaE: deleting object of abstract class type with non-virtual destructor
Diffstat (limited to 'sw/source/filter/ww1')
-rw-r--r-- | sw/source/filter/ww1/w1class.cxx | 4 | ||||
-rw-r--r-- | sw/source/filter/ww1/w1class.hxx | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/filter/ww1/w1class.cxx b/sw/source/filter/ww1/w1class.cxx index ff4a643b4e45..eca934980498 100644 --- a/sw/source/filter/ww1/w1class.cxx +++ b/sw/source/filter/ww1/w1class.cxx @@ -476,6 +476,10 @@ sal_uInt16 Ww1SingleSprm::Size(sal_uInt8* /*pSprm*/) return nCountBytes; } +Ww1SingleSprm::~Ww1SingleSprm() +{ +} + sal_uInt16 Ww1SingleSprmTab::Size(sal_uInt8* pSprm) // Doc 24/25, Fastsave-Sprm { OSL_ENSURE(nCountBytes==0, "Ww1SingleSprmTab"); diff --git a/sw/source/filter/ww1/w1class.hxx b/sw/source/filter/ww1/w1class.hxx index 8c253ed23761..9710b1bf0a1e 100644 --- a/sw/source/filter/ww1/w1class.hxx +++ b/sw/source/filter/ww1/w1class.hxx @@ -385,6 +385,7 @@ public: #endif { } + virtual ~Ww1SingleSprm(); }; class Ww1SingleSprmByteSized : public Ww1SingleSprm { |