[Libreoffice-commits] .: test/inc test/source
Caolán McNamara
caolan at kemper.freedesktop.org
Tue Jan 31 05:29:00 PST 2012
test/inc/test/container/xnamed.hxx | 1 +
test/inc/test/sheet/xdatapilottable.hxx | 1 +
test/source/container/xnamed.cxx | 4 ++++
test/source/sheet/xdatapilottable.cxx | 4 ++++
4 files changed, 10 insertions(+)
New commits:
commit d1a84bdb8065c46d98908bc5caec4a995d4d196f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Jan 31 13:28:49 2012 +0000
WaE: add virtual dtors
diff --git a/test/inc/test/container/xnamed.hxx b/test/inc/test/container/xnamed.hxx
index 3944582..d878c31 100644
--- a/test/inc/test/container/xnamed.hxx
+++ b/test/inc/test/container/xnamed.hxx
@@ -38,6 +38,7 @@ class OOO_DLLPUBLIC_TEST XNamed
{
public:
XNamed(const rtl::OUString& rName): maName(rName) {}
+ virtual ~XNamed();
void testGetName();
void testSetName();
diff --git a/test/inc/test/sheet/xdatapilottable.hxx b/test/inc/test/sheet/xdatapilottable.hxx
index 7d67f97..22474c5 100644
--- a/test/inc/test/sheet/xdatapilottable.hxx
+++ b/test/inc/test/sheet/xdatapilottable.hxx
@@ -40,6 +40,7 @@ class OOO_DLLPUBLIC_TEST XDataPilotTable
{
public:
virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual ~XDataPilotTable();
void testGetOutputRange();
void testRefresh();
diff --git a/test/source/container/xnamed.cxx b/test/source/container/xnamed.cxx
index 1de01cb..32ee7b8 100644
--- a/test/source/container/xnamed.cxx
+++ b/test/source/container/xnamed.cxx
@@ -53,6 +53,10 @@ void XNamed::testSetName()
CPPUNIT_ASSERT(maName == xNamed->getName());
}
+XNamed::~XNamed()
+{
+}
+
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/test/source/sheet/xdatapilottable.cxx b/test/source/sheet/xdatapilottable.cxx
index 64bc813..5cb8849 100644
--- a/test/source/sheet/xdatapilottable.cxx
+++ b/test/source/sheet/xdatapilottable.cxx
@@ -70,6 +70,10 @@ void XDataPilotTable::testRefresh()
CPPUNIT_ASSERT_MESSAGE("value needs to change", aOldData != aNewData);
}
+XDataPilotTable::~XDataPilotTable()
+{
+}
+
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list