summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/inc/test/sheet/xdatapilottable2.hxx1
-rw-r--r--test/inc/test/sheet/xnamedranges.hxx2
-rw-r--r--test/inc/test/util/xsearchable.hxx1
-rw-r--r--test/source/sheet/xdatapilottable2.cxx4
-rw-r--r--test/source/sheet/xnamedranges.cxx4
-rw-r--r--test/source/util/xsearchable.cxx4
6 files changed, 16 insertions, 0 deletions
diff --git a/test/inc/test/sheet/xdatapilottable2.hxx b/test/inc/test/sheet/xdatapilottable2.hxx
index 7b82bf8340af..25ce93e9fff8 100644
--- a/test/inc/test/sheet/xdatapilottable2.hxx
+++ b/test/inc/test/sheet/xdatapilottable2.hxx
@@ -50,6 +50,7 @@ public:
void testGetDrillDownData();
void testGetOutputRangeByType();
void testInsertDrillDownSheet();
+ virtual ~XDataPilotTable2();
virtual uno::Reference< uno::XInterface > initDP2() = 0;
virtual uno::Reference< uno::XInterface > getSheets() = 0;
diff --git a/test/inc/test/sheet/xnamedranges.hxx b/test/inc/test/sheet/xnamedranges.hxx
index 508fec5f2180..b2a60120911f 100644
--- a/test/inc/test/sheet/xnamedranges.hxx
+++ b/test/inc/test/sheet/xnamedranges.hxx
@@ -43,6 +43,8 @@ public:
// removes given entry
XNamedRanges(const rtl::OUString& rNameToRemove);
+ virtual ~XNamedRanges();
+
virtual uno::Reference< uno::XInterface > init(sal_Int32 nSheets = 0) = 0;
// XNamedRanges
diff --git a/test/inc/test/util/xsearchable.hxx b/test/inc/test/util/xsearchable.hxx
index f7b87581ba52..673ce44f9b13 100644
--- a/test/inc/test/util/xsearchable.hxx
+++ b/test/inc/test/util/xsearchable.hxx
@@ -38,6 +38,7 @@ class OOO_DLLPUBLIC_TEST XSearchable
public:
XSearchable(const rtl::OUString& rString, sal_Int32 nCount) : maSearchString(rString), mnCount(nCount) {}
XSearchable() : maSearchString(RTL_CONSTASCII_USTRINGPARAM("SearchString")), mnCount(1) {}
+ virtual ~XSearchable();
void testFindFirst();
void testFindNext();
diff --git a/test/source/sheet/xdatapilottable2.cxx b/test/source/sheet/xdatapilottable2.cxx
index de1bb978ea29..dd29aa3064c8 100644
--- a/test/source/sheet/xdatapilottable2.cxx
+++ b/test/source/sheet/xdatapilottable2.cxx
@@ -46,6 +46,10 @@ using namespace com::sun::star::uno;
namespace apitest {
+XDataPilotTable2::~XDataPilotTable2()
+{
+}
+
void XDataPilotTable2::testGetPositionData()
{
uno::Reference< sheet::XDataPilotTable2 > xDPTable(initDP2(), UNO_QUERY_THROW);
diff --git a/test/source/sheet/xnamedranges.cxx b/test/source/sheet/xnamedranges.cxx
index b5c9a466ca89..9f52cc678f38 100644
--- a/test/source/sheet/xnamedranges.cxx
+++ b/test/source/sheet/xnamedranges.cxx
@@ -65,6 +65,10 @@ XNamedRanges::XNamedRanges(const rtl::OUString& rNameToRemove):
}
+XNamedRanges::~XNamedRanges()
+{
+}
+
void XNamedRanges::testAddNewByName()
{
uno::Reference< sheet::XNamedRanges > xNamedRanges(init(), UNO_QUERY_THROW);
diff --git a/test/source/util/xsearchable.cxx b/test/source/util/xsearchable.cxx
index 7f3fdb0cc65e..040268b3b659 100644
--- a/test/source/util/xsearchable.cxx
+++ b/test/source/util/xsearchable.cxx
@@ -74,6 +74,10 @@ void XSearchable::testFindNext()
}
}
+XSearchable::~XSearchable()
+{
+}
+
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */