diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-31 13:28:49 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-31 13:28:49 +0000 |
commit | d1a84bdb8065c46d98908bc5caec4a995d4d196f (patch) | |
tree | d08ada09c270c634a892b9590cbc8c5103f9bac5 /test | |
parent | Remove unsed code (diff) | |
download | core-d1a84bdb8065c46d98908bc5caec4a995d4d196f.tar.gz core-d1a84bdb8065c46d98908bc5caec4a995d4d196f.zip |
WaE: add virtual dtors
Diffstat (limited to 'test')
-rw-r--r-- | test/inc/test/container/xnamed.hxx | 1 | ||||
-rw-r--r-- | test/inc/test/sheet/xdatapilottable.hxx | 1 | ||||
-rw-r--r-- | test/source/container/xnamed.cxx | 4 | ||||
-rw-r--r-- | test/source/sheet/xdatapilottable.cxx | 4 |
4 files changed, 10 insertions, 0 deletions
diff --git a/test/inc/test/container/xnamed.hxx b/test/inc/test/container/xnamed.hxx index 39445822c51c..d878c311696c 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 7d67f97e7f7c..22474c5d26e5 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 1de01cbc5906..32ee7b886a6e 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 64bc81364dd2..5cb8849d5b01 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: */ |