summaryrefslogtreecommitdiff
path: root/sw/inc/fmthdft.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/fmthdft.hxx')
-rw-r--r--sw/inc/fmthdft.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/fmthdft.hxx b/sw/inc/fmthdft.hxx
index b7f887d1dbbd..ce0574650fb4 100644
--- a/sw/inc/fmthdft.hxx
+++ b/sw/inc/fmthdft.hxx
@@ -39,7 +39,7 @@ public:
SwFmtHeader( sal_Bool bOn = sal_False );
SwFmtHeader( SwFrmFmt *pHeaderFmt );
SwFmtHeader( const SwFmtHeader &rCpy );
- ~SwFmtHeader();
+ virtual ~SwFmtHeader();
SwFmtHeader& operator=( const SwFmtHeader &rCpy );
TYPEINFO_OVERRIDE();
@@ -72,7 +72,7 @@ public:
SwFmtFooter( sal_Bool bOn = sal_False );
SwFmtFooter( SwFrmFmt *pFooterFmt );
SwFmtFooter( const SwFmtFooter &rCpy );
- ~SwFmtFooter();
+ virtual ~SwFmtFooter();
SwFmtFooter& operator=( const SwFmtFooter &rCpy );
TYPEINFO_OVERRIDE();