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 | |
parent | 2eeef79b78242a89ef6901ba67b30f178d59027f (diff) |
WaE: C4265: class has virtual functions, but destructor is not virtual
Diffstat (limited to 'test')
-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 | ||||
-rw-r--r-- | test/source/sheet/xdatapilottable2.cxx | 4 | ||||
-rw-r--r-- | test/source/sheet/xnamedranges.cxx | 4 | ||||
-rw-r--r-- | test/source/util/xsearchable.cxx | 4 |
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: */ |