summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/qa/cppunit/test_controlleritem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/qa/cppunit/test_controlleritem.cxx b/sfx2/qa/cppunit/test_controlleritem.cxx
index ee48f467b937..fe9637f399b5 100644
--- a/sfx2/qa/cppunit/test_controlleritem.cxx
+++ b/sfx2/qa/cppunit/test_controlleritem.cxx
@@ -39,7 +39,7 @@ static bool bDeleted = false;
class FooController : public SfxControllerItem {
public:
FooController() : SfxControllerItem() {}
- ~FooController() { bDeleted = true; }
+ virtual ~FooController() { bDeleted = true; }
};
void ControllerItemTest::test()