diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2012-03-13 20:41:38 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-03-13 23:19:52 +0100 |
commit | b81955ffe00f8e7137f0cd0aacc1f2970bfc02af (patch) | |
tree | aebf76c2bc342d9a0371ffc66967a813696c1e59 /writerfilter | |
parent | 3edbc2cf8d3ea3417d97fd278585178d55eacff8 (diff) |
Adding virtual destructor to WW8ResourceModel.hxx classes
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/inc/resourcemodel/WW8ResourceModel.hxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx index 9504b6ffc4c5..5869f04e374a 100644 --- a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx +++ b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx @@ -128,6 +128,9 @@ class Sprm; class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC Properties { public: + + virtual ~Properties() {} + /** Receives an attribute. @@ -152,6 +155,8 @@ class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC Table { public: typedef boost::shared_ptr<Table> Pointer_t; + + virtual ~Table() {} /** Receives an entry of the table. @@ -167,6 +172,8 @@ public: class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC BinaryObj { public: + + virtual ~BinaryObj() {} /** Receives binary data of the object. @@ -184,11 +191,14 @@ public: class WRITERFILTER_RESOURCEMODEL_DLLPUBLIC Stream { public: + /** Pointer to this stream. */ typedef boost::shared_ptr<Stream> Pointer_t; + virtual ~Stream() {} + /** Receives start mark for group with the same section properties. */ @@ -344,6 +354,9 @@ public: typedef auto_ptr<Sprm> Pointer_t; SAL_WNODEPRECATED_DECLARATIONS_POP enum Kind { UNKNOWN, CHARACTER, PARAGRAPH, TABLE }; + + virtual ~Sprm() {} + /** Returns id of the SPRM. */ |