writerfilter/inc/resourcemodel/WW8ResourceModel.hxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit f32fe9f5012e3ee184e1a1fca6814bee9105d8fb
Author: Arnaud Versini <arnaud.vers...@gmail.com>
Date:   Sun Mar 11 20:42:44 2012 +0100

    Add a virtual destrcutor to value to prevent memory leak in RTFValue

diff --git a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx 
b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx
index f452a83..9504b6f 100644
--- a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx
+++ b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx
@@ -295,6 +295,8 @@ public:
     typedef auto_ptr<Value> Pointer_t;
     SAL_WNODEPRECATED_DECLARATIONS_POP
 
+    virtual ~Value() {}
+
     /**
        Returns integer representation of the value.
      */
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to