summaryrefslogtreecommitdiff
path: root/test/inc/test/container
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-02-13 12:24:22 +0200
committerTor Lillqvist <tml@iki.fi>2012-02-13 12:32:38 +0200
commit976cc2360d4e2c2060cbc82714017f3179f50a5c (patch)
tree3f36513a57b0ad39ec2a6aeb63df7ee692ef4a1b /test/inc/test/container
parentbeb8a85796c78d4cdcf6497b6725fce8f7141d75 (diff)
WaE: class has virtual functions, but destructor is not virtual
Diffstat (limited to 'test/inc/test/container')
-rw-r--r--test/inc/test/container/xelementaccess.hxx2
-rw-r--r--test/inc/test/container/xnamecontainer.hxx2
-rw-r--r--test/inc/test/container/xnamereplace.hxx2
3 files changed, 6 insertions, 0 deletions
diff --git a/test/inc/test/container/xelementaccess.hxx b/test/inc/test/container/xelementaccess.hxx
index a9b897e3b82c..6ec106a7983f 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 6f296d7c5905..152edca8fa5a 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 e91d5a7e987f..71000c718df3 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;