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

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

üst 56285ff9
...@@ -71,6 +71,10 @@ ...@@ -71,6 +71,10 @@
#include <rtl/ustrbuf.hxx> #include <rtl/ustrbuf.hxx>
#include <boost/scoped_array.hpp> #include <boost/scoped_array.hpp>
LwpFormulaArg::~LwpFormulaArg()
{
}
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
LwpFormulaInfo::LwpFormulaInfo(LwpObjectHeader &objHdr, LwpSvStream* pStrm) LwpFormulaInfo::LwpFormulaInfo(LwpObjectHeader &objHdr, LwpSvStream* pStrm)
: LwpCellList(objHdr, pStrm) : LwpCellList(objHdr, pStrm)
......
...@@ -109,6 +109,7 @@ class LwpTableLayout; ...@@ -109,6 +109,7 @@ class LwpTableLayout;
class LwpFormulaArg class LwpFormulaArg
{ {
public: public:
virtual ~LwpFormulaArg() = 0;
virtual rtl::OUString ToString(LwpTableLayout* pCellsMap)=0; virtual rtl::OUString ToString(LwpTableLayout* pCellsMap)=0;
virtual String ToArgString(LwpTableLayout* pCellsMap){ return ToString(pCellsMap);} virtual String ToArgString(LwpTableLayout* pCellsMap){ return ToString(pCellsMap);}
}; };
......
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