[Libreoffice-commits] .: test/inc

Tor Lillqvist tml at kemper.freedesktop.org
Mon Feb 13 02:33:21 PST 2012


 test/inc/test/container/xelementaccess.hxx |    2 ++
 test/inc/test/container/xnamecontainer.hxx |    2 ++
 test/inc/test/container/xnamereplace.hxx   |    2 ++
 3 files changed, 6 insertions(+)

New commits:
commit 976cc2360d4e2c2060cbc82714017f3179f50a5c
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Mon Feb 13 12:24:22 2012 +0200

    WaE: class has virtual functions, but destructor is not virtual

diff --git a/test/inc/test/container/xelementaccess.hxx b/test/inc/test/container/xelementaccess.hxx
index a9b897e..6ec106a 100644
--- a/test/inc/test/container/xelementaccess.hxx
+++ b/test/inc/test/container/xelementaccess.hxx
@@ -43,6 +43,8 @@ public:
 
     virtual uno::Reference< uno::XInterface > init() = 0;
 
+    virtual ~XElementAccess() {}
+
 private:
     uno::Type maType;
 };
diff --git a/test/inc/test/container/xnamecontainer.hxx b/test/inc/test/container/xnamecontainer.hxx
index 6f296d7..152edca 100644
--- a/test/inc/test/container/xnamecontainer.hxx
+++ b/test/inc/test/container/xnamecontainer.hxx
@@ -46,6 +46,8 @@ public:
 
     void testRemoveByName();
 
+    virtual ~XNameContainer() {}
+
 private:
     rtl::OUString maNameToRemove;
 };
diff --git a/test/inc/test/container/xnamereplace.hxx b/test/inc/test/container/xnamereplace.hxx
index e91d5a7..71000c7 100644
--- a/test/inc/test/container/xnamereplace.hxx
+++ b/test/inc/test/container/xnamereplace.hxx
@@ -46,6 +46,8 @@ public:
 
     virtual uno::Any getAnyElementForNameReplace() = 0;
 
+    virtual ~XNameReplace() {}
+
 private:
     rtl::OUString maName;
 


More information about the Libreoffice-commits mailing list