diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-01 10:06:06 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-01 10:43:57 +0000 |
commit | f87e486d298d98beb3aa9bd1c4884877117cbdcc (patch) | |
tree | 61a9c9e81c1c88cb76daeb6ad4e8f2504fcca4bd /test/inc | |
parent | 2eeef79b78242a89ef6901ba67b30f178d59027f (diff) |
WaE: C4265: class has virtual functions, but destructor is not virtual
Diffstat (limited to 'test/inc')
-rw-r--r-- | test/inc/test/sheet/xdatapilottable2.hxx | 1 | ||||
-rw-r--r-- | test/inc/test/sheet/xnamedranges.hxx | 2 | ||||
-rw-r--r-- | test/inc/test/util/xsearchable.hxx | 1 |
3 files changed, 4 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(); |