Kaydet (Commit) b81955ff authored tarafından Arnaud Versini's avatar Arnaud Versini Kaydeden (comit) Michael Stahl

Adding virtual destructor to WW8ResourceModel.hxx classes

üst 3edbc2cf
...@@ -128,6 +128,9 @@ class Sprm; ...@@ -128,6 +128,9 @@ class Sprm;
class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC Properties class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC Properties
{ {
public: public:
virtual ~Properties() {}
/** /**
Receives an attribute. Receives an attribute.
...@@ -152,6 +155,8 @@ class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC Table ...@@ -152,6 +155,8 @@ class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC Table
{ {
public: public:
typedef boost::shared_ptr<Table> Pointer_t; typedef boost::shared_ptr<Table> Pointer_t;
virtual ~Table() {}
/** /**
Receives an entry of the table. Receives an entry of the table.
...@@ -167,6 +172,8 @@ public: ...@@ -167,6 +172,8 @@ public:
class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC BinaryObj class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC BinaryObj
{ {
public: public:
virtual ~BinaryObj() {}
/** /**
Receives binary data of the object. Receives binary data of the object.
...@@ -184,11 +191,14 @@ public: ...@@ -184,11 +191,14 @@ public:
class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC Stream class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC Stream
{ {
public: public:
/** /**
Pointer to this stream. Pointer to this stream.
*/ */
typedef boost::shared_ptr<Stream> Pointer_t; typedef boost::shared_ptr<Stream> Pointer_t;
virtual ~Stream() {}
/** /**
Receives start mark for group with the same section properties. Receives start mark for group with the same section properties.
*/ */
...@@ -344,6 +354,9 @@ public: ...@@ -344,6 +354,9 @@ public:
typedef auto_ptr<Sprm> Pointer_t; typedef auto_ptr<Sprm> Pointer_t;
SAL_WNODEPRECATED_DECLARATIONS_POP SAL_WNODEPRECATED_DECLARATIONS_POP
enum Kind { UNKNOWN, CHARACTER, PARAGRAPH, TABLE }; enum Kind { UNKNOWN, CHARACTER, PARAGRAPH, TABLE };
virtual ~Sprm() {}
/** /**
Returns id of the SPRM. Returns id of the SPRM.
*/ */
......
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