summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-01-15 18:14:54 +0100
committerDavid Tardon <dtardon@redhat.com>2012-01-15 20:27:24 +0100
commitc94a2118bb498f7acc4326b73abfbab58cc09a66 (patch)
tree9a8571f242b3cc3ae12e7370811c3856a9d58a60 /lotuswordpro
parent56285ff96c393520ac02d7fe6143b97fbccc044a (diff)
WaE: deleting object of abstract class type with non-virtual destructor
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwptblformula.cxx4
-rw-r--r--lotuswordpro/source/filter/lwptblformula.hxx1
2 files changed, 5 insertions, 0 deletions
diff --git a/lotuswordpro/source/filter/lwptblformula.cxx b/lotuswordpro/source/filter/lwptblformula.cxx
index 0647a1d4142e..bdef6dfe8458 100644
--- a/lotuswordpro/source/filter/lwptblformula.cxx
+++ b/lotuswordpro/source/filter/lwptblformula.cxx
@@ -71,6 +71,10 @@
#include <rtl/ustrbuf.hxx>
#include <boost/scoped_array.hpp>
+LwpFormulaArg::~LwpFormulaArg()
+{
+}
+
//////////////////////////////////////////////////////////////////
LwpFormulaInfo::LwpFormulaInfo(LwpObjectHeader &objHdr, LwpSvStream* pStrm)
: LwpCellList(objHdr, pStrm)
diff --git a/lotuswordpro/source/filter/lwptblformula.hxx b/lotuswordpro/source/filter/lwptblformula.hxx
index 648b9266f329..ceaa41970a32 100644
--- a/lotuswordpro/source/filter/lwptblformula.hxx
+++ b/lotuswordpro/source/filter/lwptblformula.hxx
@@ -109,6 +109,7 @@ class LwpTableLayout;
class LwpFormulaArg
{
public:
+ virtual ~LwpFormulaArg() = 0;
virtual rtl::OUString ToString(LwpTableLayout* pCellsMap)=0;
virtual String ToArgString(LwpTableLayout* pCellsMap){ return ToString(pCellsMap);}
};