diff options
Diffstat (limited to 'sw/source/core/inc/fieldhint.hxx')
-rw-r--r-- | sw/source/core/inc/fieldhint.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/core/inc/fieldhint.hxx b/sw/source/core/inc/fieldhint.hxx index 2e1bcd60ca8e..27d31f86f647 100644 --- a/sw/source/core/inc/fieldhint.hxx +++ b/sw/source/core/inc/fieldhint.hxx @@ -25,14 +25,15 @@ class SwPaM; class SwRootFrame; -class SwFieldHint : public SfxHint +class SwFieldHint final : public SfxHint { public: SwPaM* m_pPaM; SwRootFrame const* m_pLayout; SwFieldHint(SwPaM* const pPaM, SwRootFrame const* const pLayout) - : m_pPaM(pPaM) + : SfxHint(SfxHintId::SwField) + , m_pPaM(pPaM) , m_pLayout(pLayout) { } |