summaryrefslogtreecommitdiff
path: root/cppu/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-03 15:28:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-03 15:28:50 +0200
commit1fc26b811256290880fa6e86c9146b48c052bde5 (patch)
tree219593089c48d9f31d36bb23a038b8a82f8a9fde /cppu/qa
parent4f36f17a1bad121f978ce55b635ccf23e00915cb (diff)
Cosmetics (to ease work related to finding unused functions)
Change-Id: I88b7659fdfdcba43e69ef7489573b28952c8328c
Diffstat (limited to 'cppu/qa')
-rw-r--r--cppu/qa/test_reference.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/cppu/qa/test_reference.cxx b/cppu/qa/test_reference.cxx
index f9058260484f..fe3191f629df 100644
--- a/cppu/qa/test_reference.cxx
+++ b/cppu/qa/test_reference.cxx
@@ -92,10 +92,10 @@ private:
// Check that the up-casting Reference conversion constructor catches the
// intended cases:
-struct Base1: public css::uno::XInterface { virtual ~Base1() {} };
-struct Base2: public Base1 { virtual ~Base2() {} };
-struct Base3: public Base1 { virtual ~Base3() {} };
-struct Derived: public Base2, public Base3 { virtual ~Derived() {} };
+struct Base1: public css::uno::XInterface { virtual ~Base1() = 0; };
+struct Base2: public Base1 {};
+struct Base3: public Base1 {};
+struct Derived: public Base2, public Base3 {};
// The special case using the conversion operator instead:
css::uno::Reference< css::uno::XInterface > testUpcast1(