summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/dflyobj.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/inc/dflyobj.hxx')
-rw-r--r--sw/source/core/inc/dflyobj.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/inc/dflyobj.hxx b/sw/source/core/inc/dflyobj.hxx
index 7532f9f9a5a6..f7b5da9a112b 100644
--- a/sw/source/core/inc/dflyobj.hxx
+++ b/sw/source/core/inc/dflyobj.hxx
@@ -47,7 +47,7 @@ public:
TYPEINFO_OVERRIDE();
SwFlyDrawObj();
- ~SwFlyDrawObj();
+ virtual ~SwFlyDrawObj();
// for instantiation of this class while loading (via factory)
virtual sal_uInt32 GetObjInventor() const SAL_OVERRIDE;
@@ -79,7 +79,7 @@ public:
TYPEINFO_OVERRIDE();
SwVirtFlyDrawObj(SdrObject& rNew, SwFlyFrm* pFly);
- ~SwVirtFlyDrawObj();
+ virtual ~SwVirtFlyDrawObj();
// overloaded method of base class SdrVirtObj
virtual void TakeObjInfo( SdrObjTransformInfoRec& rInfo ) const SAL_OVERRIDE;