summaryrefslogtreecommitdiff
path: root/sw/source/core/text/porfld.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/text/porfld.hxx')
-rw-r--r--sw/source/core/text/porfld.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/text/porfld.hxx b/sw/source/core/text/porfld.hxx
index 2fa9af69bb3e..90b5342760a4 100644
--- a/sw/source/core/text/porfld.hxx
+++ b/sw/source/core/text/porfld.hxx
@@ -59,7 +59,7 @@ protected:
public:
SwFldPortion( const SwFldPortion& rFld );
SwFldPortion( const OUString &rExpand, SwFont *pFnt = 0, bool bPlaceHolder = false );
- ~SwFldPortion();
+ virtual ~SwFldPortion();
sal_uInt16 m_nAttrFldType;
void TakeNextOffset( const SwFldPortion* pFld );
@@ -197,7 +197,7 @@ public:
const bool bCenter,
const KSHORT nMinDst,
const bool bLabelAlignmentPosAndSpaceModeActive );
- ~SwGrfNumPortion();
+ virtual ~SwGrfNumPortion();
virtual void Paint( const SwTxtPaintInfo &rInf ) const SAL_OVERRIDE;
virtual bool Format( SwTxtFormatInfo &rInf ) SAL_OVERRIDE;